summaryrefslogtreecommitdiff
path: root/include/err.sh
blob: 96252534dc0a546ae9bdd23cb4d02915298ec58f (plain)
1
2
3
4
5
6
7
8
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2022, 2023 Leah Rowe <leah@libreboot.org>

err()
{
	printf "ERROR %s: %s\n" "${0}" "${1}" 1>&2
	exit 1
}