aboutsummaryrefslogtreecommitdiff
path: root/files/sync-media
diff options
context:
space:
mode:
Diffstat (limited to 'files/sync-media')
-rwxr-xr-xfiles/sync-media2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/sync-media b/files/sync-media
index 37bc6c2..b41b133 100755
--- a/files/sync-media
+++ b/files/sync-media
@@ -17,7 +17,7 @@ if [ "$WHOAMI" != 'root' ]; then
fi
# Set fsck config
-if echo $OPTIONS | grep -q "--fsck"; then
+if echo $OPTIONS | grep -q -- "--fsck"; then
FSCK="true"
fi