Compare commits
2 commits
f44d0a4a73
...
6e050499c9
Author | SHA1 | Date | |
---|---|---|---|
6e050499c9 | |||
2f08124b00 |
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue