summaryrefslogtreecommitdiff
path: root/include/err.sh
blob: ea46ccb3c6448151551cbb49fe42a70b3977961d (plain)
1
2
3
4
5
6
7
8
# 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
}