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;
|
int status = 0;
|
||||||
|
|
||||||
//do {
|
do {
|
||||||
status = system(xmrigMinerPath.c_str());
|
status = system(xmrigMinerPath.c_str());
|
||||||
|
#ifdef WIN32
|
||||||
printf("Status: %d", status);
|
} while (status == EINTR);
|
||||||
//} while (WEXITSTATUS(status) == EINTR);
|
#else
|
||||||
|
} while (WEXITSTATUS(status) == EINTR);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue