Files
lbmk/include/err.sh
Leah Rowe 57adbc6eb1 unify err functions across scripts
include/err.sh

this new handling also does mundane things,
such as tell you what script b0rked

Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-08-23 19:12:00 +01:00

9 lines
151 B
Bash
Executable File

# Copyright (c) 2022, 2023 Leah Rowe <info@minifree.org>
# SPDX-License-Identifier: MIT
err()
{
printf "ERROR %s: %s\n" "${0}" "${1}" 1>&2
exit 1
}