diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-09 11:16:09 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-09 11:16:09 -0400 |
commit | 345358c4deb71b7316b99fb025d39d5644249e17 (patch) | |
tree | 2be4ee744f8e58ade5e3cfa1afca16254432584c | |
parent | f566ebf8345cf39f1d50eaa6a679b3ca7088f4eb (diff) |
This is embarrassing, I messed up the braces on $@ for lock/slocklibretools-20131015
-rw-r--r-- | lib/common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common.sh b/lib/common.sh index 5a9f6fe..1baab9c 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -140,7 +140,7 @@ get_full_version() { lock() { local fd=$1 local file=$2 - local mesg=("$@:3") + local mesg=("${@:3}") # Only reopen the FD if it wasn't handed to us if [[ "$(readlink -f /dev/fd/$fd)" != "$(readlink -f "$file")" ]]; then @@ -161,7 +161,7 @@ lock() { slock() { local fd=$1 local file=$2 - local mesg=("$@:3") + local mesg=("${@:3}") # Only reopen the FD if it wasn't handed to us if [[ "$(readlink -f /dev/fd/$fd)" != "$(readlink -f "$file")" ]]; then |