summaryrefslogtreecommitdiffhomepage
path: root/app/lib
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js
index 00c40fa05f..45a91a9a50 100644
--- a/app/lib/backend.js
+++ b/app/lib/backend.js
@@ -72,7 +72,7 @@ export type IpcCredentials = {
};
export function parseIpcCredentials(data: string): ?IpcCredentials {
const [connectionString, sharedSecret] = data.split('\n', 2);
- if(connectionString && sharedSecret) {
+ if(connectionString && sharedSecret !== undefined) {
return {
connectionString,
sharedSecret,