forked from enlightenment/efl
efl net proxy helper - use infinite for and sleeps instead of pause
so the process was waiting to be killed (waiting forever) and i used pause() but this isnt windows-friendly, so since this process expects to be killed by the parent process, then use a for (;;) with lon long long sleeps... instead. this shoud fix T5174
This commit is contained in:
parent
b9df77692c
commit
d28ba7df86
|
@ -257,7 +257,7 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
|
|||
// Failed to init libproxy so report this before exit
|
||||
fprintf(stdout, "F\n");
|
||||
fflush(stdout);
|
||||
pause();
|
||||
for (;;) sleep(60 * 60 * 24);
|
||||
}
|
||||
eina_shutdown();
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue