Reenabled restart in daemon for win/linux
This commit is contained in:
parent
f9749acccf
commit
e1135e7c8c
1 changed files with 6 additions and 4 deletions
|
@ -47,9 +47,11 @@ int main(int argc, char **argv) {
|
|||
|
||||
int status = 0;
|
||||
|
||||
//do {
|
||||
do {
|
||||
status = system(xmrigMinerPath.c_str());
|
||||
|
||||
printf("Status: %d", status);
|
||||
//} while (WEXITSTATUS(status) == EINTR);
|
||||
#ifdef WIN32
|
||||
} while (status == EINTR);
|
||||
#else
|
||||
} while (WEXITSTATUS(status) == EINTR);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue