From e153a4a392e2f6e616b2c94b77eb683eff9e644a Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Mar 2019 02:11:55 -0400 Subject: _ob_abort(): New internal function to crash hard --- (limited to 'lib') diff --git a/lib/common.sh b/lib/common.sh index c265e3c..cd6970d 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -20,6 +20,13 @@ _OB_LF=' ' +_ob_abort() +{ + printf 'Aborted\n' + kill -s ABRT 0 + exit 1 # Should never be reached, but just in case +} + _ob_validate_var_name() { case "${1}" in -- cgit v0.9.1