X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/blobdiff_plain/b585e4eae85ee8f30d6bd8c95744fecbeefe66d7..afda7f51444113730f020d76bebf4c74b01661be:/hacks/ssh diff --git a/hacks/ssh b/hacks/ssh index 18f39ac..d8a46a4 100755 --- a/hacks/ssh +++ b/hacks/ssh @@ -175,7 +175,8 @@ case "$mode" in logfile=$SSH_LOGDIR/${login+"$login@"}"$host"${port+":$port"}.log if ! "$REAL_SSH" -Ocheck \ ${port+-p$port} ${login+"$login@"}"$host" \ - >/dev/null 2>&1; then + >/dev/null 2>&1 + then "$REAL_SSH" -MNf "${masteropts[@]}" "$host" \ /dev/null 2>$logfile fi