From: Jameson Rollins Date: Fri, 29 Oct 2010 23:10:52 +0000 (-0400) Subject: fix variable declaration (leftover from break out of touch_key_file_or_fail) X-Git-Tag: monkeysphere_0.35-1~1^2~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=875b9873b351a1a4643cfe635131253150d335e9;p=monkeysphere.git fix variable declaration (leftover from break out of touch_key_file_or_fail) --- diff --git a/src/share/common b/src/share/common index f8ae9df..b26b57e 100644 --- a/src/share/common +++ b/src/share/common @@ -384,6 +384,8 @@ test_gpg_expire() { # directories with correct permissions touch_key_file_or_fail() { local keyFile="$1" + local newUmask + if [ ! -f "$keyFile" ]; then # make sure to create files and directories with the # appropriate write bits turned off: diff --git a/src/share/m/update_known_hosts b/src/share/m/update_known_hosts index 57176b8..d167ae0 100644 --- a/src/share/m/update_known_hosts +++ b/src/share/m/update_known_hosts @@ -17,7 +17,6 @@ update_known_hosts() { local returnCode=0 local fileCheck local host - local newUmask # touch the known_hosts file so that the file permission check # below won't fail upon not finding the file