small pixel drawing of a pufferfish pa

replace 'error' with '$0' in die functions

helps with localizing errors
arĉi arcxi@dismail.de
Sun, 28 Jul 2024 02:54:45 +0200
commit

f879e491fc9aebbb861172273fa6dc960a7acf69

parent

a73b02f6737ec29ab88940e60fc7f80ea3d36c0b

3 files changed, 3 insertions(+), 3 deletions(-)

jump to
M contrib/pa-rekeycontrib/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-urncontrib/pa-urn

@@ -27,7 +27,7 @@ fi

} die() { - printf 'error: %s.\n' "$1" >&2 + printf '%s: %s.\n' "$0" "$1" >&2 exit 1 }
M papa

@@ -169,7 +169,7 @@ return 1

} die() { - printf 'error: %s.\n' "$1" >&2 + printf '%s: %s.\n' "$0" "$1" >&2 exit 1 }