mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
move abort up
This commit is contained in:
parent
753e19e031
commit
c4f0d7ce3a
1 changed files with 5 additions and 5 deletions
|
@ -28,6 +28,11 @@ EOF
|
|||
exit 0
|
||||
}
|
||||
|
||||
_abort() {
|
||||
echo "ERROR:" "$@"
|
||||
exit 1
|
||||
}
|
||||
|
||||
_parameters() {
|
||||
while [ $# -gt 0 ]; do
|
||||
case "${1}" in
|
||||
|
@ -53,11 +58,6 @@ while [ $# -gt 0 ]; do
|
|||
done
|
||||
}
|
||||
|
||||
_abort() {
|
||||
echo "ERROR:" "$@"
|
||||
exit 1
|
||||
}
|
||||
|
||||
_cleanup() {
|
||||
if [[ -n "${_BUILD_DIR}" ]]; then
|
||||
rm -rf -- "${_BUILD_DIR}"
|
||||
|
|
Loading…
Reference in a new issue