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:
Carsten Haitzler 2017-02-13 19:00:47 +09:00
parent b9df77692c
commit d28ba7df86
1 changed files with 1 additions and 1 deletions

View File

@ -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;