aboutsummaryrefslogtreecommitdiff
path: root/files/sync-media
diff options
context:
space:
mode:
Diffstat (limited to 'files/sync-media')
-rw-r--r--files/sync-media2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/sync-media b/files/sync-media
index ec3a8e6..a9bd422 100644
--- a/files/sync-media
+++ b/files/sync-media
@@ -178,7 +178,7 @@ if [ ! -z "$DRIVE" ] && [ -d "$VOLUME/$MEDIA" ]; then
rsync -av --delete $CACHE/$folder/ $VOLUME/$MEDIA/$folder/
fi
done
-else
+elif [ ! -z "$DISK" ]; then
# Try to copy to a remote
for folder in `ls $CACHE`; do
if [ -d "$CACHE/$folder/.git/annex" ]; then