Commit 0f00ee43 authored by Mark Andrews's avatar Mark Andrews
Browse files

2615. [port] win32: 'named -v' should automatically be executed

                        in the foreground. [RT #19844]
parent f7b683b0
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: ntservice.c,v 1.12 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: ntservice.c,v 1.13 2009/06/23 07:43:48 marka Exp $ */
#include <config.h>
#include <stdio.h>
......@@ -65,9 +65,12 @@ int bindmain()
*/
GetArgs(&argc, &argv, &envp);
/* Command line users should put -f in the options */
/* Command line users should put -f in the options. */
/* XXXMPA should use isc_commandline_parse() here. */
while (argv[i]) {
if (!strcmp(argv[i], "-f") || !strcmp(argv[i], "-g")) {
if (!strcmp(argv[i], "-f") ||
!strcmp(argv[i], "-g") ||
!strcmp(argv[i], "-v")) {
foreground = TRUE;
break;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment