diff options
Diffstat (limited to 'syncmusic-interactive')
| -rwxr-xr-x | syncmusic-interactive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syncmusic-interactive b/syncmusic-interactive index 0454035..887c667 100755 --- a/syncmusic-interactive +++ b/syncmusic-interactive @@ -66,7 +66,7 @@ REMOTEONLYMUSIC=() while read p; do if [[ $p != "" ]] then - if [ $LOCALONLYCOUNT = 0 ] || grep -xq $p /tmp/localmusiclist + if [ $LOCALCOUNT = 0 ] || ! grep -xq $p /tmp/localmusiclist then UNSYNCCOUNT=$((UNSYNCCOUNT+1)) REMOTEONLYCOUNT=$((REMOTEONLYCOUNT+1)) |
