mirror of https://github.com/winsw/winsw
Merge c964016798
into e4cf507bae
commit
163bcbd4be
|
@ -786,6 +786,7 @@ namespace WinSW
|
|||
context.ExitCode = svc.Status switch
|
||||
{
|
||||
ServiceControllerStatus.Stopped => 0,
|
||||
ServiceControllerStatus.Running => 0,
|
||||
_ => 1
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue