Skip to content

Commit

Permalink
Merge pull request #59 from salopensource/fix_import
Browse files Browse the repository at this point in the history
Fix relocation of a function from utils to munki_checkin.
  • Loading branch information
sheagcraig authored Sep 27, 2019
2 parents c21ce5d + dece39f commit e0e05ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions payload/usr/local/munki/postflight.d/sal-postflight
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import sys
import socket
import urllib2

sys.path[:0] = ['/usr/local/munki', '/usr/local/sal']
sys.path[:0] = ['/usr/local/munki', '/usr/local/sal', '/usr/local/sal/checkin_modules']
import munki_checkin
import utils
from munkilib import FoundationPlist, munkicommon

Expand Down Expand Up @@ -58,7 +59,7 @@ def check_server_online():
if not utils.pref('SendOfflineReport'):
return
# read report
report = utils.get_managed_install_report()
report = munki_checkin.get_managed_install_report()
# check for errors and warnings
if not check_for_errors(report):
utils.set_pref('LastRunWasOffline', False)
Expand Down

0 comments on commit e0e05ee

Please sign in to comment.