diff options
author | Erick Cafferata <erick@cafferata.me> | 2019-01-17 11:23:56 -0500 |
---|---|---|
committer | Erick Cafferata <erick@cafferata.me> | 2019-01-17 11:25:19 -0500 |
commit | 99ce8340dc7e33e550efb8fd6f466ad7da5ea456 (patch) | |
tree | 4e9a00a9290a6c71fcd5557b8bb523fa1aa78242 | |
parent | ab3449f5ac7c5682520bc13a439c1d37ca2953ae (diff) | |
download | asp32-99ce8340dc7e33e550efb8fd6f466ad7da5ea456.tar.xz |
replace die() for log_fatal()
-rw-r--r-- | asp.in | 2 | ||||
-rw-r--r-- | package.inc.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |