Pause tmux session on error

This commit is contained in:
Manuel Thalmann 2024-12-06 13:52:26 +01:00
parent 2f08124b00
commit 6e050499c9

View file

@ -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"