summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common.sh4
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