summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/services/svc_netlogon.c2
1 files changed, 1 insertions, 1 deletions
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;