]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 31 Dec 2012 18:32:21 +0000 (16:32 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 31 Dec 2012 18:32:21 +0000 (16:32 -0200)
files/sync-media

index 37bc6c2b2e9f04996fb29505a370d1e7f5bf47d0..b41b1336b796927cb661b47613acde93b37ea712 100755 (executable)
@@ -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