From efa66f957de8a4432fff121633f723680f7096e5 Mon Sep 17 00:00:00 2001 From: serassio <> Date: Mon, 18 Feb 2008 02:30:12 +0000 Subject: [PATCH] Windows Port: don't set opt_no_daemon=1 when running as a service. --- src/WinSvc.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/WinSvc.cc b/src/WinSvc.cc index cb7c9aa7a5..658b71d9f7 100755 --- a/src/WinSvc.cc +++ b/src/WinSvc.cc @@ -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 @@ -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]); -- 2.47.3