]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows Port: don't set opt_no_daemon=1 when running as a service.
authorserassio <>
Mon, 18 Feb 2008 02:30:12 +0000 (02:30 +0000)
committerserassio <>
Mon, 18 Feb 2008 02:30:12 +0000 (02:30 +0000)
src/WinSvc.cc

index cb7c9aa7a502ee38ee8371d1766730c019ab5d9a..658b71d9f7ac11f8937338b6df21b29222367c9f 100755 (executable)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: WinSvc.cc,v 1.5 2008/02/17 11:36:13 serassio Exp $
+ * $Id: WinSvc.cc,v 1.6 2008/02/17 19:30:12 serassio Exp $
  *
  * Windows support
  * AUTHOR: Guido Serassio <serassio@squid-cache.org>
@@ -939,7 +939,6 @@ int main(int argc, char **argv)
         freopen(stderr_path, "w", stderr);
         setmode(fileno(stderr), O_TEXT);
         WIN32_run_mode = _WIN_SQUID_RUN_MODE_SERVICE;
-        opt_no_daemon = 1;
 
         if (!(c=strchr(argv[1],':'))) {
             fprintf(stderr, "Bad Service Parameter: %s\n", argv[1]);