]> gitweb.fluxo.info Git - hydra.git/commitdiff
Fix: syntax error
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 30 Sep 2023 22:46:29 +0000 (19:46 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 30 Sep 2023 22:46:29 +0000 (19:46 -0300)
share/hydractl/sync-media

index 1ce9516ba31d59081763f1d8e6a884f4814f81d0..09f723956b3e85f6155ef4440701d5f778deb3f0 100755 (executable)
@@ -272,7 +272,7 @@ if [ ! -z "$DRIVE" ] && [ -d "$VOLUME/$MEDIA" ]; then
           method="unison"
         fi
 
-        if [ "$method" == "unison" ];
+        if [ "$method" == "unison" ]; then
           unison $CACHE/$folder $VOLUME/$MEDIA/$folder -auto -logfile /dev/null
         elif [ "$method" == "rsync-to-media-volume" ]; then
           echo "Syncing $CACHE/$folder into $VOLUME/$MEDIA/$folder..."