fixed go version command

This commit is contained in:
cubedro 2015-03-20 04:08:18 +02:00
parent 20813967e5
commit 817ef1e032

View File

@ -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');