fix using non-local variable
authorIan Kelling <ian@iankelling.org>
Tue, 22 Jul 2014 16:35:53 +0000 (09:35 -0700)
committerIan Kelling <ian@iankelling.org>
Tue, 22 Jul 2014 16:35:53 +0000 (09:35 -0700)
appendu
appendu-function

diff --git a/appendu b/appendu
index 43e2e8737aaffabf42ecc47005e395094bfe6a61..7854aee9b1c324de99f907a429e62f465a63e9b8 100755 (executable)
--- a/appendu
+++ b/appendu
@@ -36,7 +36,7 @@ Appended lines are output to the terminal.
         return 1
     fi
 
-    local readsudo writesudo
+    local readsudo writesudo x
     local file="$1"
     shift
     
index 9dc9b5a601c604f599eae097f22814db3dd0959c..4c97d7270adbd3f4af06d063682931c88f9309ca 100644 (file)
@@ -36,7 +36,7 @@ Appended lines are output to the terminal.
         return 1
     fi
 
-    local readsudo writesudo
+    local readsudo writesudo x
     local file="$1"
     shift