Log out and install button triggers a logout instead of a restart; it's now up to ManagedInstaller to do the right thing.

git-svn-id: http://munki.googlecode.com/svn/trunk@68 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2009-05-18 20:19:54 +00:00
parent babd41b221
commit 3f19a73186

View File

@@ -137,11 +137,8 @@ end selection changed
on alert ended theObject with reply withReply
if button returned of withReply is "Log out and install" then
-- trigger ManagedInstaller
-- we just tell the OS to restart; the logout hook
-- should kick in for the install
tell application "System Events"
restart
log out
end tell
quit
end if