summaryrefslogtreecommitdiff
path: root/src/bin/ecore_con
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-13 19:00:47 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-13 19:00:47 +0900
commitd28ba7df86bc9b8d07186087114185134c8b4557 (patch)
tree34d97c20a443c56e37465b5dc78ecad1f2371f31 /src/bin/ecore_con
parentb9df77692cf591215edb5a32cc8f7fb59d3e1e8b (diff)
downloadefl-d28ba7df86bc9b8d07186087114185134c8b4557.tar.gz
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
Diffstat (limited to 'src/bin/ecore_con')
-rw-r--r--src/bin/ecore_con/efl_net_proxy_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ecore_con/efl_net_proxy_helper.c b/src/bin/ecore_con/efl_net_proxy_helper.c
index 69c371a12f..30074d6af8 100644
--- a/src/bin/ecore_con/efl_net_proxy_helper.c
+++ b/src/bin/ecore_con/efl_net_proxy_helper.c
@@ -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;