From 817ef1e032d574874c0e3c1bd09eefbef4a3eaba Mon Sep 17 00:00:00 2001 From: cubedro Date: Fri, 20 Mar 2015 04:08:18 +0200 Subject: [PATCH] fixed go version command --- lib/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node.js b/lib/node.js index f853035..6fdf1fb 100644 --- a/lib/node.js +++ b/lib/node.js @@ -25,7 +25,7 @@ if(process.env.NODE_ENV === 'production') INSTANCE_NAME = shelljs.exec('ec2metadata --instance-id', {silent: true}).output; } - ETH_VERSION = shelljs.exec((process.env.ETH_IMPLEMENTATION === 'go' ? 'ethereum -version' : 'eth -V'), {silent: true}).output; + ETH_VERSION = shelljs.exec((process.env.ETH_IMPLEMENTATION === 'go' ? 'ethereum version' : 'eth -V'), {silent: true}).output; } var socket = new Socket(process.env.WS_SERVER || 'ws://localhost:3000');