diff options
Diffstat (limited to '.sync-media')
-rwxr-xr-x | .sync-media/custom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.sync-media/custom b/.sync-media/custom index 2ef4b58..325ab69 100755 --- a/.sync-media/custom +++ b/.sync-media/custom @@ -20,7 +20,7 @@ elif [ ! -d "$DEST" ]; then fi # Check if there are assets -if [ ! -z "$(ls -A $ASSETS)" ] || [ "$(ls -A $ASSETS)" != ".empty" ]; then +if [ ! -z "$(ls -A $ASSETS)" ] && [ "$(ls -A $ASSETS)" != ".empty" ]; then # Then sync unison $ASSETS $DEST -auto -logfile /dev/null fi |