From 6fbf51bd0f425c244e552a1f73a240d27f5b1828 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Tue, 8 Apr 2014 11:38:22 -0400 Subject: add double quotes to prevent globbing --- lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lock') 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 -- cgit v1.2.3