basho/riak — Issue #120: riak-admin grep for cookie name fails on comments
Author: mirell
Created: 2012-02-23 21:05:05+00:00
State: open
Labels: Bug

The current grep is the following:

COOKIE_ARG=`grep '\-setcookie' $RUNNER_ETC_DIR/vm.args`

It needs a ^ at the beginning, like the riak command already has:

COOKIE_ARG=`grep '^\-setcookie' $RUNNER_ETC_DIR/vm.args`