diff --git a/reactos/base/applications/sc/start.c b/reactos/base/applications/sc/start.c index 79a1780637c..bc1c9100c5a 100644 --- a/reactos/base/applications/sc/start.c +++ b/reactos/base/applications/sc/start.c @@ -45,6 +45,11 @@ BOOL Start(LPCTSTR ServiceName, LPCTSTR *ServiceArgs, INT ArgCount) if (hSc == NULL) goto fail; + if (!ArgCount) + { + ServiceArgs = NULL; + } + if (! StartService(hSc, ArgCount, ServiceArgs))