]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove dead code
authorMark Andrews <marka@isc.org>
Wed, 18 Apr 2018 04:18:05 +0000 (14:18 +1000)
committerOndřej Surý <ondrej@sury.org>
Fri, 20 Apr 2018 21:50:35 +0000 (14:50 -0700)
bin/named/win32/ntservice.c

index 388eaab5308d98e3ff1090bece533db3dcc538dc..5b7af72de3e5051b2991b89b0c601cecd6aac8d2 100644 (file)
@@ -9,8 +9,6 @@
  * information regarding copyright ownership.
  */
 
-/* $Id: ntservice.c,v 1.16 2011/01/13 08:50:29 tbox Exp $ */
-
 #include <config.h>
 #include <stdio.h>
 
@@ -48,8 +46,6 @@ ntservice_init(void) {
                if (!hServiceStatus) {
                        named_main_earlyfatal(
                                "could not register service control handler");
-                       UpdateSCM(SERVICE_STOPPED);
-                       exit(1);
                }
                UpdateSCM(SERVICE_RUNNING);
        } else {