Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygserver/cygserver.cc')
-rw-r--r--winsup/cygserver/cygserver.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/winsup/cygserver/cygserver.cc b/winsup/cygserver/cygserver.cc
index 355060feb..0cc6244ad 100644
--- a/winsup/cygserver/cygserver.cc
+++ b/winsup/cygserver/cygserver.cc
@@ -726,6 +726,8 @@ main (const int argc, char *argv[])
if (wincap.has_security () && !setup_privileges ())
panic ("Setting process privileges failed.");
+ ipcinit ();
+
/*XXXXX*/
threaded_queue request_queue (request_threads);
@@ -739,11 +741,7 @@ main (const int argc, char *argv[])
request_queue.add_submission_loop (&submission_loop);
if (transport->listen () == -1)
- {
- exit (1);
- }
-
- ipcinit ();
+ return 1;
cache.start ();