taler-util: exit with correct status, not always 1
This commit is contained in:
parent
0ee3f94463
commit
f4a651ef32
@ -20,7 +20,7 @@ import path from "node:path";
|
|||||||
import os from "node:os";
|
import os from "node:os";
|
||||||
|
|
||||||
export function processExit(status: number): never {
|
export function processExit(status: number): never {
|
||||||
process.exit(1);
|
process.exit(status);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function processArgv(): string[] {
|
export function processArgv(): string[] {
|
||||||
|
Loading…
Reference in New Issue
Block a user