... | ... |
@@ -96,5 +96,5 @@ function mpd_tablette () { |
96 | 96 |
# local nfs=$(ss -no state established 'sport = :nfs' dst $tablette | grep -c $) |
97 | 97 |
test $nfs -lt 3 && echo "tablette non connectée à la zique" |
98 | 98 |
nc -zw2 $tablette $port || echo "MPD injoignable" |
99 |
- test $(showmount --all --no-headers | grep $tablette:$media) -eq 1 || echo "$media pas exporté" |
|
99 |
+ test $(showmount --all --no-headers | grep -c $tablette:$media) -eq 1 || echo "$media pas exporté" |
|
100 | 100 |
} |