From: Marko Kreen Date: Fri, 19 Dec 2008 12:18:29 +0000 (+0000) Subject: win32: no need for -subservice switch, instead use -q X-Git-Tag: pgbouncer_1_3_rc1~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=222176a6f717716325e1c2a021477a34f2da29d2;p=pgbouncer win32: no need for -subservice switch, instead use -q --- diff --git a/win32/win32support.c b/win32/win32support.c index b24992e..67e7408 100644 --- a/win32/win32support.c +++ b/win32/win32support.c @@ -316,7 +316,7 @@ static HANDLE win32_start_engine(int num) return INVALID_HANDLE_VALUE; } } - wsprintf(cmdline, "\"%s\" -subservice \"%s\"", self_process, children_config_files[num]); + wsprintf(cmdline, "\"%s\" -q \"%s\"", self_process, children_config_files[num]); if (!CreateProcess(NULL, cmdline, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi)) { log_error("Failed to spawn process for engine at '%s': %lu", @@ -632,12 +632,6 @@ static void manage_win32_service(int argc, char *argv[]) win32_servicestart(); exit(0); } - if (argc >= 2 && !strcmp(argv[1], "-subservice")) - { - cf_quiet = 1; - argc--; - argv++; - } if (argc >= 2 && argc <= 4 && ( !strcmp(argv[1], "-regservice") || !strcmp(argv[1], "-unregservice") ||