Compare commits

...

2 commits

Author SHA1 Message Date
6e050499c9 Pause tmux session on error 2024-12-06 13:52:26 +01:00
2f08124b00 Fix permission issue 2024-12-06 13:51:08 +01:00
2 changed files with 2 additions and 1 deletions

View file

@ -82,7 +82,7 @@ begin
"ssh -p $port -o StrictHostKeyChecking=no git@127.0.0.1 \"SSH_ORIGINAL_COMMAND=\\\"$SSH_ORIGINAL_COMMAND\\\" \$0 \$@\""
end | sudo tee "$bin" >/dev/null
chmod +x "$bin"
sudo chmod +x "$bin"
end
function getServiceServers -V server

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"