HCoop
/
hcoop
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a967ab
)
hcoop-kprop: invert grep exit status to shut cron up
author
clinton_admin
<clinton_admin@fritz.hcoop.net>
Tue, 24 Mar 2015 20:46:31 +0000
(16:46 -0400)
committer
clinton_admin
<clinton_admin@fritz.hcoop.net>
Tue, 24 Mar 2015 20:46:31 +0000
(16:46 -0400)
We want to eat the success message while allowing any error output to
be displayed, but we also want to return success.
hcoop-kprop
patch
|
blob
|
blame
|
history
diff --git
a/hcoop-kprop
b/hcoop-kprop
index
4cb0f2f
..
ef30ef6
100755
(executable)
--- a/
hcoop-kprop
+++ b/
hcoop-kprop
@@
-11,7
+11,7
@@
export PATH=$PATH:/usr/sbin:/sbin
kdb5_util dump /var/lib/krb5kdc/slave_datatrans
kprop hopper.hcoop.net \
- 2>&1 |
grep -v 'Database propagation to hopper.hcoop.net: SUCCEEDED'
+ 2>&1 |
(! grep -v 'Database propagation to hopper.hcoop.net: SUCCEEDED')
# disabled because the kdc is too old and can't load dumps from fritz --clinton
#kprop deleuze.hcoop.net \