chiark / gitweb /
typo fixes
[ircbot] / on-vc.sh
index 9cd3ce8600fc17e84cb295a15d2260b928ea0d28..54cc8126bc7e6af4abf15c0f46e9c407ddf4cdd1 100755 (executable)
--- a/on-vc.sh
+++ b/on-vc.sh
@@ -10,7 +10,7 @@
 
 set -e
 
-fail () { echo 2>&1 "$0: $1" }
+fail () { echo 2>&1 "$0: $1"; exit 1; }
 
 test $# = 3 || fail "usage: $0 VC USERNAME SCRIPT"
 vc="$1"