From: serassio <> Date: Mon, 18 Feb 2008 02:30:12 +0000 (+0000) Subject: Windows Port: don't set opt_no_daemon=1 when running as a service. X-Git-Tag: BASIC_TPROXY4~75 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=efa66f957de8a4432fff121633f723680f7096e5;p=thirdparty%2Fsquid.git Windows Port: don't set opt_no_daemon=1 when running as a service. --- 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]);