From: Jameson Graef Rollins Date: Sat, 21 Feb 2009 22:12:33 +0000 (-0500) Subject: fix bug in ssh connection test X-Git-Tag: monkeysphere_0.23~5 X-Git-Url: https://codewiz.org/gitweb?p=monkeysphere.git;a=commitdiff_plain;h=bf8d981ed43744d6678fbc0bc2de845be28f885f fix bug in ssh connection test --- diff --git a/tests/basic b/tests/basic index 9c5b280..9308e21 100755 --- a/tests/basic +++ b/tests/basic @@ -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}