From 949e89e2850ccd100bcd871199fe3de7754b1906 Mon Sep 17 00:00:00 2001 From: DavHau Date: Wed, 11 Dec 2024 20:43:20 +0700 Subject: [PATCH] fix error codes --- bin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin.js b/bin.js index f7963e0..8ed0498 100755 --- a/bin.js +++ b/bin.js @@ -7,7 +7,7 @@ if (process.argv.includes('-h') || process.argv.includes('--help')) { console.error('') console.error(' Creates a 1-1 end-to-end encrypted network pipe.') console.error(' If a passphrase is not supplied, will create a new phrase and begin listening.') - process.exit(1) + process.exit(0) } let beam