Commit 6c00931
feat: use sudo and --restart for macOS softwareupdate (topgrade-rs#627)
Run `softwareupdate` through sudo and add the `--restart` flag so
that the system can reboot automatically when a macOS update requires
it. This aligns with the behavior described in the softwareupdate(8)
man page.
Based-on-PR: topgrade-rs#627
Original-author: Steve Lau <stevelauc@outlook.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4cd5df8 commit 6c00931
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments