aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-19 13:41:30 +0100
committerFlorian Dold <florian@dold.me>2023-02-19 13:41:30 +0100
commitf4a651ef32ee96cbeae0a807c5b10fde8bdfa9f4 (patch)
tree74e449e0a0e2f3b66690ec9eba73443b2ba959d9
parent0ee3f94463273b346cb01aeeeecd912314bdd6ef (diff)
taler-util: exit with correct status, not always 1
-rw-r--r--packages/taler-util/src/compat.node.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/compat.node.ts b/packages/taler-util/src/compat.node.ts
index ed27a7acd..fb2db2995 100644
--- a/packages/taler-util/src/compat.node.ts
+++ b/packages/taler-util/src/compat.node.ts
@@ -20,7 +20,7 @@ import path from "node:path";
import os from "node:os";
export function processExit(status: number): never {
- process.exit(1);
+ process.exit(status);
}
export function processArgv(): string[] {