mirror of https://github.com/winsw/winsw
Update Program.cs
parent
bad589878d
commit
ad2b40df70
|
@ -65,7 +65,7 @@ namespace WinSW
|
|||
bool inConsoleMode = argsArray.Length > 0;
|
||||
|
||||
// If descriptor is not specified, initialize the new one (and load configs from there)
|
||||
descriptor = GetServiceDescriptor();
|
||||
descriptor ??= GetServiceDescriptor();
|
||||
|
||||
// Configure the wrapper-internal logging.
|
||||
// STDOUT and STDERR of the child process will be handled independently.
|
||||
|
|
Loading…
Reference in New Issue