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 888c8ae commit 7bacc2cCopy full SHA for 7bacc2c
share/github-backup-utils/ghe-ssh
@@ -62,8 +62,7 @@ if [ -z "$GHE_DISABLE_SSH_MUX" ]; then
62
opts="-o ControlMaster=auto -o ControlPath=\"$controlpath\" -o ControlPersist=10m -o ServerAliveInterval=10 $opts"
63
# Workaround for https://bugzilla.mindrot.org/show_bug.cgi?id=1988
64
if ! [ -S $controlpath ]; then
65
- cd "$TMPDIR"
66
- ssh -f -p $port $opts -o BatchMode=yes "$host" -- /bin/true 1>/dev/null 2>&1 || true
+ ( cd "$TMPDIR" && ssh -f -p $port $opts -o BatchMode=yes "$host" -- /bin/true 1>/dev/null 2>&1 || true )
67
fi
68
69
0 commit comments