Skip to content

Commit 326835e

Browse files
committed
HBASE-25594 Make easier to use graceful_stop on localhost mode (#3054)
Addendum.
1 parent ba3610d commit 326835e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bin/graceful_stop.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ filename="/tmp/$hostname"
105105
local=
106106
localhostname=`/bin/hostname -f`
107107

108-
if [ "$localhostname" == "$hostname" ]; then
109-
local=true
110-
fi
111108
if [ "$localhostname" == "$hostname" ] || [ "$hostname" == "localhost" ]; then
112109
local=true
113110
hostname=$localhostname

0 commit comments

Comments
 (0)