A prompt to install updates come up in situations where an update is available that does not require restart. In situations where only updates that do not require restart are available, softwareupdate -ia should be running silently and no prompt should appear.
A prompt to install updates come up in situations where an update is available that does not require restart. In situations where only updates that do not require restart are available,
softwareupdate -ia
should be running silently and no prompt should appear.