Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
In bin/cassandra the comments say:
The lowest priority search path is the same directory as the startup script...
However the "same directory" currently has the highest priority:
# Locations (in order) to use when searching for an include file. for include in "`dirname "$0"`/cassandra.in.sh" \ "$HOME/.cassandra.in.sh" \ /usr/share/cassandra/cassandra.in.sh \ /usr/local/share/cassandra/cassandra.in.sh \ /opt/cassandra/cassandra.in.sh; do if [ -r "$include" ]; then . "$include" break fi done
It looks like around the release of v 2.0.0 the order was changed but the comments stayed the same.