aboutsummaryrefslogtreecommitdiff
path: root/lock
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-04-08 11:38:22 -0400
committerCalvin Morrison <mutantturkey@gmail.com>2014-04-08 11:38:22 -0400
commit6fbf51bd0f425c244e552a1f73a240d27f5b1828 (patch)
tree51c4333341f473f1c82d0a2142ad1b3cf1991a27 /lock
parentdc627016effd1bb247cef22932519ffb75bd520a (diff)
add double quotes to prevent globbing
Diffstat (limited to 'lock')
-rwxr-xr-xlock2
1 files changed, 1 insertions, 1 deletions
diff --git a/lock b/lock
index 78e406a..22191fe 100755
--- a/lock
+++ b/lock
@@ -20,7 +20,7 @@ lock() {
}
if [[ "$#" -eq "1" ]]; then
- lock $1
+ lock "$1"
else
echo "please supply one argument: the lock directory."
exit 1