Pause tmux session on error

This commit is contained in:
Manuel Thalmann 2024-12-06 13:52:26 +01:00
parent 569204babe
commit 055955a1bf

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"