Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tools
development-tools
manjaro-tools
Commits
2ebe5c58
Commit
2ebe5c58
authored
Feb 27, 2016
by
udeved
Browse files
[util-msg] fix error functions
parent
bec3a5c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/util-msg.sh
View file @
2ebe5c58
...
...
@@ -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
(){
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment