summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-wallet-cli/src/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts
index 134631698..1cceb8446 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -90,6 +90,7 @@ setUnhandledRejectionHandler((error: any) => {
});
const defaultWalletDbPath = pathHomedir() + "/" + ".talerwalletdb.sqlite3";
+const defaultWalletCoreSocket = pathHomedir() + "/" + ".wallet-core.sock";
function assertUnreachable(x: never): never {
throw new Error("Didn't expect to get here");
@@ -1203,7 +1204,7 @@ advancedCli
help: "Serve the wallet API via a unix domain socket.",
})
.requiredOption("unixPath", ["--unix-path"], clk.STRING, {
- default: "wallet-core.sock",
+ default: defaultWalletCoreSocket,
})
.flag("noInit", ["--no-init"], {
help: "Do not initialize the wallet. The client must send the initWallet message.",