From 1a8989361ed6d994d94c9ea221f5bc6e9977cece Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 4 Jul 2018 16:10:12 +0300 Subject: [PATCH] ignore stderr since geth outputs normal logs to it --- lib/cmds/blockchain/blockchain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmds/blockchain/blockchain.js b/lib/cmds/blockchain/blockchain.js index 7d4d244a5..bc0c19ca3 100644 --- a/lib/cmds/blockchain/blockchain.js +++ b/lib/cmds/blockchain/blockchain.js @@ -222,7 +222,7 @@ Blockchain.prototype.checkPathLength = function() { Blockchain.prototype.isClientInstalled = function(callback) { let versionCmd = this.client.determineVersionCommand(); this.runCommand(versionCmd, {}, (err, stdout, stderr) => { - if (err || stderr || !stdout || stdout.indexOf("not found") >= 0) { + if (err || !stdout || stdout.indexOf("not found") >= 0) { return callback('Geth not found'); } callback();