From 7390b94f46704c5912fb671aefba3bfdf3cdcd83 Mon Sep 17 00:00:00 2001 From: Greg Neagle Date: Thu, 27 Jan 2011 23:01:34 +0000 Subject: [PATCH] Minor change to notifyUserOfUpdates() in managedsoftwareupdate. git-svn-id: http://munki.googlecode.com/svn/trunk@1013 a4e17f2e-e282-11dd-95e1-755cbddbdd66 --- code/client/managedsoftwareupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/managedsoftwareupdate b/code/client/managedsoftwareupdate index 7a4013bf..740e184d 100755 --- a/code/client/managedsoftwareupdate +++ b/code/client/managedsoftwareupdate @@ -266,7 +266,7 @@ def notifyUserOfUpdates(): # subtract 6 hours interval = interval - (6 * 60 * 60) nextNotifyDate = lastNotifiedDate.dateByAddingTimeInterval_(interval) - if now.timeIntervalSinceDate_(nextNotifyDate) > 0: + if now.timeIntervalSinceDate_(nextNotifyDate) >= 0: # record current notification date munkicommon.set_pref('LastNotifiedDate', now)