We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9d2f6e commit 66a67aeCopy full SHA for 66a67ae
share/github-backup-utils/ghe-ssh
@@ -63,7 +63,10 @@ if echo "$*" | grep "[|;]" >/dev/null || [ $(echo "$*" | wc -l) -gt 1 ]; then
63
fi
64
65
# Warn if git is not installed, and set GHE_DISABLE_SSH_MUX=true
66
-command -v git >/dev/null 2>&1 || echo "Warning: SSH multiplexing requires git but it's not installed." && export GHE_DISABLE_SSH_MUX=true
+if [ -z "$GHE_DISABLE_SSH_MUX" ]; then
67
+ command -v git >/dev/null 2>&1 || echo "Warning: SSH multiplexing requires git but it's not installed."
68
+ export GHE_DISABLE_SSH_MUX=true
69
+fi
70
71
if [ -z "$GHE_DISABLE_SSH_MUX" ]; then
72
controlpath="$TMPDIR/.ghe-sshmux-$(echo -n "$user@$host:$port" | git hash-object --stdin | cut -c 1-8)"
0 commit comments