replace 'error' with '$0' in die functions helps with localizing errors
arĉi arcxi@dismail.de
Sun, 28 Jul 2024 02:54:45 +0200
3 files changed,
3 insertions(+),
3 deletions(-)
M
contrib/pa-rekey
→
contrib/pa-rekey
@@ -6,7 +6,7 @@ # Reuse identities file: export PA_IDENTITIES=~/.local/share/pa/identities
# Reuse recipients file: export PA_RECIPIENTS=~/.local/share/pa/recipients die() { - printf 'error: %s.\n' "$1" >&2 + printf '%s: %s.\n' "$0" "$1" >&2 exit 1 }
M
contrib/pa-urn
→
contrib/pa-urn
@@ -27,7 +27,7 @@ fi
} die() { - printf 'error: %s.\n' "$1" >&2 + printf '%s: %s.\n' "$0" "$1" >&2 exit 1 }