Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Commit c42e389

Browse files
authored
Remove --force flag from softwareupdate download
The `--force` flag applies to the `--restart` flag for `--install`, and not for downloading updates, and we're just downloading here.
1 parent 57fd93f commit c42e389

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • payload/Library/nudge/Resources

payload/Library/nudge/Resources/nudge

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,7 @@ def download_apple_updates():
308308

309309
cmd = [
310310
'/usr/sbin/softwareupdate',
311-
'-da',
312-
'--force'
311+
'-da'
313312
]
314313

315314
try:

0 commit comments

Comments
 (0)