summaryrefslogtreecommitdiff
path: root/src/share/common
diff options
context:
space:
mode:
authorJameson Rollins <jrollins@finestructure.net>2010-10-29 19:10:52 -0400
committerJameson Rollins <jrollins@finestructure.net>2010-10-29 19:10:52 -0400
commit875b9873b351a1a4643cfe635131253150d335e9 (patch)
tree1104b0972c67c41e3a079c342ee3f08bd9dd2e65 /src/share/common
parent836573e3a94191eae8ae66c40054d80d9c73b949 (diff)
fix variable declaration (leftover from break out of touch_key_file_or_fail)
Diffstat (limited to 'src/share/common')
-rw-r--r--src/share/common2
1 files changed, 2 insertions, 0 deletions
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: