diff --git a/tools/server-setup.sh b/tools/server-setup.sh index 0407871..6ace97f 100755 --- a/tools/server-setup.sh +++ b/tools/server-setup.sh @@ -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