aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-09-30 19:46:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-09-30 19:46:29 -0300
commit8eda5834f48fc49f433e650949c934f69be6a6d5 (patch)
treea24340e9670a9d11d02e87233989ea16c7b43847
parentfb46564dc1c5f834868582b24c4f1ae4dae78501 (diff)
downloadhydra-8eda5834f48fc49f433e650949c934f69be6a6d5.tar.gz
hydra-8eda5834f48fc49f433e650949c934f69be6a6d5.tar.bz2
Fix: syntax error
-rwxr-xr-xshare/hydractl/sync-media2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media
index 1ce9516..09f7239 100755
--- a/share/hydractl/sync-media
+++ b/share/hydractl/sync-media
@@ -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..."