chiark / gitweb /
More error handling: set -e, set -o pipefail
[modbot-mtm.git] / stump / bin / processApproved
index 9cdf3c6cead81535f081f2449edd3ceb27112abb..615d0c17ccee00bd12715f9409c20f9fcdfcb51e 100755 (executable)
@@ -1,4 +1,7 @@
-#!/bin/sh
+#!/bin/bash
+
+set -e
+set -o pipefail
 
 NEWSBIN=/var/lib/newsbin; export NEWSBIN
 shift