From 5432ea130bd5920174376299864988fad0e816cf Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Thu, 23 Oct 2014 00:02:11 +0200 Subject: [PATCH] vcsh: Make fatal() default to `exit 1` --- vcsh | 1 + 1 file changed, 1 insertion(+) diff --git a/vcsh b/vcsh index 0b4c452..ea74835 100755 --- a/vcsh +++ b/vcsh @@ -24,6 +24,7 @@ SELF=$(basename $0) fatal() { echo "$SELF: fatal: $1" >&2 + [ -z $2] && exit 1 exit $2 } -- 2.39.5