mirror of
https://github.com/munki/munki.git
synced 2026-04-23 21:40:25 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user