Fix for embedded uninstall scripts

git-svn-id: http://munki.googlecode.com/svn/trunk@1061 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2011-03-08 23:14:28 +00:00
parent b32f6852a3
commit e5057c8c39
+1 -1
View File
@@ -848,7 +848,7 @@ def processRemovals(removallist, only_forced=False):
name)
elif uninstallmethod[0] == 'uninstall_script':
retcode = runEmbeddedScript('uninstall_script', name)
retcode = runEmbeddedScript('uninstall_script', item)
if (retcode == 0 and
item.get('RestartAction') == "RequireRestart"):
restartFlag = True