mirror of
https://github.com/munki/munki.git
synced 2026-01-05 22:20:00 -06:00
If shutting down don't call authrestartd.restart() afterwards
This commit is contained in:
committed by
Wesley Whetstone
parent
e5b473107a
commit
c69c0b2166
@@ -354,7 +354,7 @@ def doRestart(shutdown=False):
|
||||
# do it directly
|
||||
if shutdown:
|
||||
authrestart.do_authorized_or_normal_restart(shutdown=shutdown)
|
||||
if not authrestartd.restart():
|
||||
elif not authrestartd.restart():
|
||||
authrestart.do_authorized_or_normal_restart()
|
||||
else:
|
||||
if display.munkistatusoutput:
|
||||
|
||||
Reference in New Issue
Block a user