tfilmprice: improve die() - filmtools - various tools for photographic film dev… | |
git clone git://src.adamsgaard.dk/filmtools | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 48d3f12aefdf158cd79a1ad231a6b50bd998b0a6 | |
parent 96ad820b9db4b67b643c4cf6af4cb7e116aeda92 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sat, 6 Feb 2021 14:10:07 +0100 | |
filmprice: improve die() | |
Diffstat: | |
M filmprice | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/filmprice b/filmprice | |
t@@ -4,7 +4,7 @@ | |
rolls_per_bulk_roll=19 | |
die() { | |
- printf 'error: %s' "$1" >&2 | |
+ printf '%s: error: %s\n' "${0##*/}" "$1" >&2 | |
exit 1 | |
} | |