diff --git a/util/winutil/restartmgr_windows.go b/util/winutil/restartmgr_windows.go index 9fface9ca..981283dc8 100644 --- a/util/winutil/restartmgr_windows.go +++ b/util/winutil/restartmgr_windows.go @@ -23,7 +23,12 @@ ) var ( + // ErrDefunctProcess is returned by (*UniqueProcess).AsRestartableProcess + // when the process no longer exists. ErrDefunctProcess = errors.New("process is defunct") + // ErrProcessNotRestartable is returned by (*UniqueProcess).AsRestartableProcess + // when the process has previously indicated that it must not be restarted + // during a patch/upgrade. ErrProcessNotRestartable = errors.New("process is not restartable") )