Index: bin/hbase-daemon.sh =================================================================== --- bin/hbase-daemon.sh (revision 1577460) +++ bin/hbase-daemon.sh (working copy) @@ -165,7 +165,7 @@ export HBASE_NICENESS=0 fi -thiscmd=$0 +thiscmd="$bin/$(basename ${BASH_SOURCE-$0})" args=$@ case $startStop in