From 811a22fd37d112ded403e9ef1d3cda2f85caa2f2 Mon Sep 17 00:00:00 2001 From: Greg Neagle Date: Mon, 13 Jun 2016 13:59:22 -0700 Subject: [PATCH] When calling softwareupdate use --verbose flag instead of -v flag for maximum OS compatibility --- code/client/munkilib/appleupdates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/munkilib/appleupdates.py b/code/client/munkilib/appleupdates.py index dacdbc59..f3f8137c 100755 --- a/code/client/munkilib/appleupdates.py +++ b/code/client/munkilib/appleupdates.py @@ -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: