mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-06 07:50:35 +00:00
lib/funcs.sh: fixup issues
This commit is contained in:
parent
4998ace1c5
commit
35d7e524ae
1 changed files with 4 additions and 1 deletions
|
|
@ -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 <msg> ...
|
||||
fatal() {
|
||||
|
|
@ -54,7 +58,6 @@ need_progs() {
|
|||
if [[ ${#missing[@]} -gt 0 ]]
|
||||
then
|
||||
fatal "Commands missing: ${missing[*]}"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue