Pause tmux
session on error
This commit is contained in:
parent
569204babe
commit
055955a1bf
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ function runSetupUserAction -V dir
|
||||||
end >"$sudoConfig"
|
end >"$sudoConfig"
|
||||||
|
|
||||||
and sudo --preserve-env --set-home --user "$name" env "PATH=$PATH" $cmdline
|
and sudo --preserve-env --set-home --user "$name" env "PATH=$PATH" $cmdline
|
||||||
|
or read -P "An error occurred! Press enter to continue: "
|
||||||
disposeAction
|
disposeAction
|
||||||
rm "$sudoConfig"
|
rm "$sudoConfig"
|
||||||
userdel -rf "$name"
|
userdel -rf "$name"
|
||||||
|
|
Loading…
Reference in a new issue