From bd3ad6fb591b218be158fa1e5efad094baad2575 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 18 Apr 2018 14:18:05 +1000 Subject: [PATCH] remove dead code (cherry picked from commit 686edad5c50d9c9b00b15f85e136020c89844b29) --- bin/named/win32/ntservice.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/named/win32/ntservice.c b/bin/named/win32/ntservice.c index e1ca9d2946..4df5029aa8 100644 --- a/bin/named/win32/ntservice.c +++ b/bin/named/win32/ntservice.c @@ -9,8 +9,6 @@ * information regarding copyright ownership. */ -/* $Id: ntservice.c,v 1.16 2011/01/13 08:50:29 tbox Exp $ */ - #include #include @@ -48,8 +46,6 @@ ntservice_init(void) { if (!hServiceStatus) { ns_main_earlyfatal( "could not register service control handler"); - UpdateSCM(SERVICE_STOPPED); - exit(1); } UpdateSCM(SERVICE_RUNNING); } else {