summaryrefslogtreecommitdiff
path: root/init.d/20restore-etckeeper
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-09-13 13:10:41 -0400
committerJoey Hess <joey@kitenet.net>2010-09-13 13:10:41 -0400
commit2d0ed93eb86b6dc2db9935fb81d3ea58530cc4ca (patch)
treeab01573595b8e3b9a32e6cf64a80f0f1d8f57e82 /init.d/20restore-etckeeper
parent577f128e85e886c66fe25ae5edf71bd47d9cdfd7 (diff)
Fix file quoting problem in processing .etckeeper file in init.
Diffstat (limited to 'init.d/20restore-etckeeper')
-rwxr-xr-xinit.d/20restore-etckeeper2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/20restore-etckeeper b/init.d/20restore-etckeeper
index 5dc4425..0485e63 100755
--- a/init.d/20restore-etckeeper
+++ b/init.d/20restore-etckeeper
@@ -7,7 +7,7 @@ maybe () {
command="$1"
shift 1
- if eval [ -e "\$$#" ]; then
+ if eval [ -e "\"\$$#\"" ]; then
"$command" "$@"
fi
}