rocket-pool / smartnode-install

The install script for a Rocket Pool smart node.
GNU General Public License v3.0
129 stars 77 forks source link

Nethermind with enabled metrics start script has error #97

Open blacktemplar opened 1 year ago

blacktemplar commented 1 year ago

When I enable metrics and use nethermind as eth1 client the following error appears as first log line:

rocketpool-eth1  | /setup/start-ec.sh: 201: [: prater: unexpected operator

I think the problem is the double equality sign in this line of the start script. As far as I know the double equality is not understood by /bin/sh but only by /bin/bash but the start script is executed with /bin/sh by default.

I think a fix would replacing the double equality in this line with a single equality.