From 6e050499c921c415b3a9db7517adca189e978674 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 6 Dec 2024 13:52:26 +0100 Subject: [PATCH] Pause `tmux` session on error --- scripts/lib/action.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib/action.fish b/scripts/lib/action.fish index 5d4517de..3e2fbd4b 100644 --- a/scripts/lib/action.fish +++ b/scripts/lib/action.fish @@ -74,6 +74,7 @@ function runSetupUserAction -V dir end >"$sudoConfig" and sudo --preserve-env --set-home --user "$name" env "PATH=$PATH" $cmdline + or read -P "An error occurred! Press enter to continue: " disposeAction rm "$sudoConfig" userdel -rf "$name"