From: Ian Kelling Date: Tue, 22 Jul 2014 16:35:53 +0000 (-0700) Subject: fix using non-local variable X-Git-Url: https://iankelling.org/git/?p=tee-unique;a=commitdiff_plain;h=85a2296c2fd76e0efd4d09807d054b358718e199 fix using non-local variable --- diff --git a/appendu b/appendu index 43e2e87..7854aee 100755 --- 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 diff --git a/appendu-function b/appendu-function index 9dc9b5a..4c97d72 100644 --- a/appendu-function +++ b/appendu-function @@ -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