chiark
/
gitweb
/
~webstump
/
modbot-mtm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More error handling: set -e, set -o pipefail
[modbot-mtm.git]
/
stump
/
bin
/
processApproved
diff --git
a/stump/bin/processApproved
b/stump/bin/processApproved
index 9cdf3c6cead81535f081f2449edd3ceb27112abb..615d0c17ccee00bd12715f9409c20f9fcdfcb51e 100755
(executable)
--- a/
stump/bin/processApproved
+++ b/
stump/bin/processApproved
@@
-1,4
+1,7
@@
-#!/bin/sh
+#!/bin/bash
+
+set -e
+set -o pipefail
NEWSBIN=/var/lib/newsbin; export NEWSBIN
shift
NEWSBIN=/var/lib/newsbin; export NEWSBIN
shift