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
|
fi
|
||||||
|
|
||||||
echo "testing git connection..."
|
echo "testing git connection..."
|
||||||
if ! ssh git@git.ixvd.net &>/dev/null; then
|
if ! ssh git@git.ixvd.net &>/tmp/$$-ssh-output; then
|
||||||
echo "can't connect to git, please setup ssh"
|
echo "can't connect to git, please setup ssh (logs: /tmp/$$-ssh-output)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
rm /tmp/$$-ssh-output
|
||||||
|
|
||||||
## MAIN
|
## MAIN
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue