We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a004b2 commit 959b624Copy full SHA for 959b624
2 files changed
bin/ghe-host-check
@@ -24,7 +24,7 @@ port=$(ssh_port_part "$host")
24
hostname=$(ssh_host_part "$host")
25
26
set +e
27
-output=$(echo "cat \"$GHE_REMOTE_METADATA_FILE\" 2>/dev/null || exit 101" | ghe-ssh -o 'BatchMode no' $options $host -- /bin/sh 2>&1)
+output=$(echo "cat \"$GHE_REMOTE_METADATA_FILE\" 2>/dev/null || exit 101" | ghe-ssh -o BatchMode=no $options $host -- /bin/sh 2>&1)
28
rc=$?
29
set -e
30
share/github-backup-utils/ghe-ssh
@@ -61,4 +61,4 @@ fi
61
$GHE_VERBOSE_SSH && set -x
62
63
# Exec ssh command with modified host / port args and add nice to command.
64
-exec ssh "${opts[@]}" -o 'BatchMode yes' "$host" -- $GHE_NICE $GHE_IONICE "$@"
+exec ssh "${opts[@]}" -o BatchMode=yes "$host" -- $GHE_NICE $GHE_IONICE "$@"
0 commit comments