Skip to content

Commit a1ca969

Browse files
committed
Replace accidentallied redirection
1 parent 214fd4e commit a1ca969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ghe-host-check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ port=$(ssh_port_part "$host")
2424
hostname=$(ssh_host_part "$host")
2525

2626
set +e
27-
output=$(echo "cat \"$GHE_REMOTE_METADATA_FILE\" 2>/dev/null || exit 101" | ghe-ssh -o 'BatchMode no' $options $host -- /bin/sh)
27+
output=$(echo "cat \"$GHE_REMOTE_METADATA_FILE\" 2>/dev/null || exit 101" | ghe-ssh -o 'BatchMode no' $options $host -- /bin/sh 2>&1)
2828
rc=$?
2929
set -e
3030

0 commit comments

Comments
 (0)