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

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