diff --git a/lib/funcs.sh b/lib/funcs.sh index 5632be7..ddea59d 100644 --- a/lib/funcs.sh +++ b/lib/funcs.sh @@ -1,3 +1,5 @@ +# shellcheck shell=bash +# shellcheck disable=SC2034 # string formatters if [[ -t 1 ]] then @@ -17,6 +19,8 @@ Tty_underscore=$(Tty_escape 38) Tty_bold=$(Tty_mkbold 39) Tty_reset=$(Tty_escape 0) +msg_prefix="" + # fatal: Report fatal error # USAGE: fatal ... fatal() { @@ -54,7 +58,6 @@ need_progs() { if [[ ${#missing[@]} -gt 0 ]] then fatal "Commands missing: ${missing[*]}" - exit 1 fi }