Fix issues in munki.py when writing trigger files; edits to launchdaemons so managedsoftwareupdate-loginwindow runs only when a trigger file is present

This commit is contained in:
Greg Neagle
2011-09-14 15:31:42 -07:00
parent 765bf5094f
commit 239663353f
4 changed files with 22 additions and 10 deletions
+1
View File
@@ -426,6 +426,7 @@ def main():
# delete triggerfile if _not_ checkandinstallatstartup
os.unlink(filename)
if not user_triggered:
# no trigger file was found -- how'd we get launched?
munkicommon.cleanUpTmpDir()
exit(0)