feat: add lil' ssh debug log
This commit is contained in:
parent
468ac786a7
commit
daa9d31097
1 changed files with 3 additions and 2 deletions
|
@ -13,10 +13,11 @@ if ! [ "$(id -u)" = "0" ]; then
|
|||
fi
|
||||
|
||||
echo "testing git connection..."
|
||||
if ! ssh git@git.ixvd.net &>/dev/null; then
|
||||
echo "can't connect to git, please setup ssh"
|
||||
if ! ssh git@git.ixvd.net &>/tmp/$$-ssh-output; then
|
||||
echo "can't connect to git, please setup ssh (logs: /tmp/$$-ssh-output)"
|
||||
exit 1
|
||||
fi
|
||||
rm /tmp/$$-ssh-output
|
||||
|
||||
## MAIN
|
||||
|
||||
|
|
Loading…
Reference in a new issue