+etc-obnam (0.9) unstable; urgency=low
+
+ * Sigh. We need to use egrep to use a regex in grep.
+
+ -- Andrew Ruthven <andrew@etc.gen.nz> Tue, 12 Sep 2017 00:35:40 +1200
+
etc-obnam (0.8) unstable; urgency=low
* Make sure that we don't count molly-guard script called 45-obnam!
ME=molly-guard
-COUNT=$(ps ax | grep obnam | grep -v "(grep|$0)" | wc -l)
+COUNT=$(ps ax | grep obnam | egrep -v "(grep|$0)" | wc -l)
if [ $COUNT -eq 0 ]; then
echo "I: I can't find any running obnam backups, skipping check" >&2
exit 0;