]> git.etc.gen.nz Git - etc-obnam.git/commitdiff
Actually ignore ourselves master v0.9
authorAndrew Ruthven <andrew@etc.gen.nz>
Mon, 11 Sep 2017 12:36:21 +0000 (00:36 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Mon, 11 Sep 2017 12:36:21 +0000 (00:36 +1200)
debian/changelog
molly-guard/45-obnam

index abe0fa267c4c7ac56feaf5b260f47e5422ba78ba..8312b56182cbe4ce8a65647abd318935afc7c647 100644 (file)
@@ -1,3 +1,9 @@
+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!
index 7902911d08283dd3df31772152d53fb15103523f..884397a9489311cc3550a93908db1ee0bf983973 100755 (executable)
@@ -2,7 +2,7 @@
 
 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;