Repository: cassandra Updated Branches: refs/heads/trunk 82ef1cfc3 -> bf3255fc9
Ninja fix broken commit from CASSANDRA-8142 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/bf3255fc Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/bf3255fc Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/bf3255fc Branch: refs/heads/trunk Commit: bf3255fc93db65b816b016958967003df38a6004 Parents: 82ef1cf Author: Robert Stupp <sn...@snazy.de> Authored: Thu Jun 23 07:34:25 2016 +0200 Committer: Robert Stupp <sn...@snazy.de> Committed: Thu Jun 23 07:34:25 2016 +0200 ---------------------------------------------------------------------- bin/cassandra | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/bf3255fc/bin/cassandra ---------------------------------------------------------------------- diff --git a/bin/cassandra b/bin/cassandra index d8daa5e..3206fdc 100755 --- a/bin/cassandra +++ b/bin/cassandra @@ -266,7 +266,7 @@ while true; do done if [ "x$allow_root" != "xyes" ] ; then - if [ "`id -u`" = "1" ] || [ "`id -g`" = "0" ] ; then + if [ "`id -u`" = "0" ] || [ "`id -g`" = "0" ] ; then echo "Running Cassandra as root user or group is not recommended - please start Cassandra using a different system user." echo "If you really want to force running Cassandra as root, use -R command line option." exit 1