Skip to content

Commit 1c874eb

Browse files
committed
still needs the && for the check
1 parent 66a67ae commit 1c874eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

share/github-backup-utils/ghe-ssh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ fi
6464

6565
# Warn if git is not installed, and set GHE_DISABLE_SSH_MUX=true
6666
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
67+
command -v git >/dev/null 2>&1 || echo "Warning: SSH multiplexing requires git but it's not installed." && export GHE_DISABLE_SSH_MUX=true
6968
fi
7069

7170
if [ -z "$GHE_DISABLE_SSH_MUX" ]; then

0 commit comments

Comments
 (0)