diff --git a/home/.chezmoiscripts/universal/run_before_02-homebrew.sh.tmpl b/home/.chezmoiscripts/universal/run_before_02-homebrew.sh.tmpl index fddeecc0..9689fd03 100644 --- a/home/.chezmoiscripts/universal/run_before_02-homebrew.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_before_02-homebrew.sh.tmpl @@ -170,6 +170,7 @@ upgradeDarwin() { if [ -n "$OSASCRIPT_EXIT_CODE" ]; then logg info 'Reboot required and failed to gracefully shutdown within 1 minute, so forcing reboot' && sudo sh -c 'shutdown -r now' fi + exit 0 else logg info 'No reboot required for softwareupdate' fi