From ff61853fb35953f7e4f210ce3e5a82e6da15534e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 7 Dec 2006 19:21:37 +0000 Subject: r20069: Fix logic bug I introduced (This used to be commit d935ecec98747dfd9f35ab81760ef95a0d983ed7) --- source3/services/svc_netlogon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/services/svc_netlogon.c b/source3/services/svc_netlogon.c index c561870552..09e841cf7e 100644 --- a/source3/services/svc_netlogon.c +++ b/source3/services/svc_netlogon.c @@ -57,7 +57,7 @@ static WERROR netlogon_stop( const char *service, SERVICE_STATUS *service_status static WERROR netlogon_start( const char *service ) { - if ( share_defined("NETLOGON") ) + if ( !share_defined("NETLOGON") ) return WERR_SERVICE_DISABLED; return WERR_ACCESS_DENIED; -- cgit