fix bug in ssh connection test
authorJameson Graef Rollins <jrollins@finestructure.net>
Sat, 21 Feb 2009 22:12:33 +0000 (17:12 -0500)
committerJameson Graef Rollins <jrollins@finestructure.net>
Sat, 21 Feb 2009 22:12:33 +0000 (17:12 -0500)
tests/basic

index 9c5b280a7134b22a32c4e0336db84ced3ddf5f5c..9308e21295115968964753e1825f4a46a3ef90b8 100755 (executable)
@@ -51,6 +51,8 @@ gpgadmin() {
 # test ssh connection
 # first argument is expected return code from ssh connection
 ssh_test() {
+    local RETURN=0
+
     umask 0077
 
     CODE=${1:-0}