summaryrefslogtreecommitdiff
path: root/carddav-to-alpine
diff options
context:
space:
mode:
Diffstat (limited to 'carddav-to-alpine')
-rwxr-xr-xcarddav-to-alpine2
1 files changed, 1 insertions, 1 deletions
diff --git a/carddav-to-alpine b/carddav-to-alpine
index 85cffd8..66d885f 100755
--- a/carddav-to-alpine
+++ b/carddav-to-alpine
@@ -5,7 +5,7 @@
error=0
for file in 'addressbook' 'uids'; do
- if [ -n $(git -C "${git_dir}" diff -- "${file}") ]; then
+ if [ -n "$(git -C "${git_dir}" diff -- "${file}")" ]; then
>&2 printf 'File "%s" was changed relative to git.\n' "${file##*/}"
exit 1
fi