From 222176a6f717716325e1c2a021477a34f2da29d2 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Fri, 19 Dec 2008 12:18:29 +0000 Subject: [PATCH] win32: no need for -subservice switch, instead use -q --- win32/win32support.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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") || -- 2.40.0