From 345358c4deb71b7316b99fb025d39d5644249e17 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 9 Oct 2013 11:16:09 -0400 Subject: This is embarrassing, I messed up the braces on $@ for lock/slock --- lib/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3-70-g09d2