When calling softwareupdate use --verbose flag instead of -v flag for maximum OS compatibility

This commit is contained in:
Greg Neagle
2016-06-13 13:59:22 -07:00
parent 9aef9c9c89
commit 811a22fd37
+1 -1
View File
@@ -1339,7 +1339,7 @@ class AppleUpdates(object):
# this is not preferred because it uses way too much CPU
# checking stdin for input that will never come...
cmd = ['/usr/bin/script', '-q', '-t', '1', '/dev/null']
cmd.extend(['/usr/sbin/softwareupdate', '-v'])
cmd.extend(['/usr/sbin/softwareupdate', '--verbose'])
os_version_tuple = munkicommon.getOsVersion(as_tuple=True)
if catalog_url: