Fixed idle check logic when running in 'checkandinstallatstartup' mode.

git-svn-id: http://munki.googlecode.com/svn/trunk@872 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2010-10-26 20:38:27 +00:00
parent fa6a848625
commit 7e9f255085
+1 -1
View File
@@ -687,7 +687,7 @@ def main():
# simply briefly touched the mouse to see progress.
time.sleep(15)
idleseconds = getIdleSeconds()
if not idleseconds > 10:
if idleseconds > 10:
# no-one is logged in and the machine has been idle
# for a few seconds; kill the loginwindow
# (which will cause us to run again)