summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asp.in2
-rw-r--r--package.inc.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/asp.in b/asp.in
index 69c3bdc..25bb7b7 100644
--- a/asp.in
+++ b/asp.in
@@ -156,7 +156,7 @@ dump_packages() {
dumpfn=remote_get_tracked_refs
;;
*)
- die 'internal error: invalid dump type: "%s"' "$1"
+ log_fatal 'BUG: invalid dump type: "%s"' "$1"
;;
esac
diff --git a/package.inc.sh b/package.inc.sh
index 1ae9a5b..b4f49a5 100644
--- a/package.inc.sh
+++ b/package.inc.sh
@@ -74,7 +74,7 @@ package_log() {
logargs=()
;;
*)
- die 'internal error: unknown log method: %s' "$method"
+ log_fatal 'BUG: unknown log method: %s' "$method"
;;
esac