fixing typo in ssh_proxycommand.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 21 Feb 2009 21:11:07 +0000 (16:11 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 21 Feb 2009 21:11:07 +0000 (16:11 -0500)
src/share/m/ssh_proxycommand

index abe068ddc9467aa1aae7c4679ce724a84278e3ec..ca87c08bc1f1684a0886bd5dbe7d14331ec1380c 100644 (file)
@@ -117,7 +117,7 @@ EOF
 
     # if no key match was made (and the "while read" subshell returned
     # 1) output how many keys were found
 
     # if no key match was made (and the "while read" subshell returned
     # 1) output how many keys were found
-    if (( returnCode != 1 )) ; then
+    if (( "$returnCode" != 1 )) ; then
        cat <<EOF | log info
 None of the found keys matched the key offered by the host.
 Run the following command for more info about the found keys:
        cat <<EOF | log info
 None of the found keys matched the key offered by the host.
 Run the following command for more info about the found keys: