Commit 2ebe5c58 authored by udeved's avatar udeved
Browse files

[util-msg] fix error functions

parent bec3a5c5
......@@ -80,12 +80,18 @@ stat_done() {
printf "${BOLD}done${ALL_OFF}\n" >&2
}
cleanup() {
exit ${1:-0}
}
abort() {
error 'Aborting...'
cleanup 255
}
die() {
(( $# )) && error "$@"
cleanup 255
}
import(){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment