[installer] fix missing exit in error function

This commit is contained in:
Paul Schoenfelder 2018-04-27 11:44:45 -04:00
parent 6085ba8354
commit d937bdb4d5
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ function warnb() {
# Print the given message in red
function error() {
printf '%s%s%s\n' "$bldred" "$1" "$txtrst"
exit 1
}
# Like error, but expects the message via redirect