From: serassio <> Date: Mon, 18 Feb 2008 02:28:18 +0000 (+0000) Subject: Windows Port: don't set opt_no_daemon=1 when running as a service. X-Git-Tag: SQUID_3_0_STABLE2~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cff7b84f6936608bb15706b0d5cd3698624d7726;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 300b7c86bd..4d49b94bc8 100755 --- a/src/WinSvc.cc +++ b/src/WinSvc.cc @@ -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 @@ -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]);