lots: shellcheck, streaming stuff, fixes
[distro-setup] / check-radicale
index 99599a51ce86cc9e130ec5e6aa3fa305d17cda70..11860a6dc55207478322fc143042f1c49b76d377 100755 (executable)
@@ -14,7 +14,7 @@ fi
 # zerod out, by picking an amount that we dont expect to go below
 # anytime soon as of 2022.
 
-count=$(find /o/radicale/collections -type f | grep -v cache | wc -l)
+count=$(find /o/radicale/collections -type f | grep -cv cache)
 
 if (( count < 220 )); then
   echo "unexpected file count=$count < 220"