]> 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:28:18 +0000 (02:28 +0000)
committerserassio <>
Mon, 18 Feb 2008 02:28:18 +0000 (02:28 +0000)
src/WinSvc.cc

index 300b7c86bdac170a336f94e32e801409bf6b62b2..4d49b94bc8be6efd4df5b54a3d761680dcdd3ee2 100755 (executable)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: WinSvc.cc,v 1.3.4.1 2008/02/17 11:32:22 serassio Exp $
+ * $Id: WinSvc.cc,v 1.3.4.2 2008/02/17 19:28:18 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]);