From 393474c2940ad298767b5307e38c395ea1f0a445 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Mon, 25 Dec 2023 01:02:53 +0000 Subject: [PATCH] Latest --- home/.chezmoiscripts/universal/run_before_02-homebrew.sh.tmpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/home/.chezmoiscripts/universal/run_before_02-homebrew.sh.tmpl b/home/.chezmoiscripts/universal/run_before_02-homebrew.sh.tmpl index 98a2af58..2f769639 100644 --- a/home/.chezmoiscripts/universal/run_before_02-homebrew.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_before_02-homebrew.sh.tmpl @@ -164,8 +164,7 @@ upgradeDarwin() { fi ### Reboot - logg info 'Reboot required' - {{ exit 140 }} + logg info 'Reboot required' && exit 140 # gtimeout 60 osascript -e 'tell application "Finder" to shut down' || OSASCRIPT_EXIT_CODE=$? # 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'