-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
Description
Example output:
The next configuration check requires elevated privileges; you may be prompted for your current OS X user's password below. The command to be executed is: 'sudo softwareupdate --schedule | grep 'Automatic check is on''
Password:
CHECK #11: Automatic check for software updates is enabled.... FAILED!
Apply the following fix? This will execute this command:
'softwareupdate --schedule on' [Y/n]
The next configuration check requires elevated privileges; you may be prompted for your current OS X user's password below. The command to be executed is: 'sudo softwareupdate --schedule | grep 'Automatic check is on''
Attempting configuration fix with elevated privileges; you may be prompted for your OS X login password...
The next configuration check requires elevated privileges; you may be prompted for your current OS X user's password below. The command to be executed is: 'sudo softwareupdate --schedule | grep 'Automatic check is on''
CHECK #11: Automatic check for software updates is enabled.... PASSED!
Just need to add a state variable to check whether the command is being executed for the first time or not -- just clutters the screen to have this printed multiple times.