Skip to content

Commit d1b5c5d

Browse files
jakejscottantirez
authored andcommitted
create-cluster fix for stop and watch commands
1 parent 66899a4 commit d1b5c5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: utils/create-cluster/create-cluster

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ then
4343
while [ $((PORT < ENDPORT)) != "0" ]; do
4444
PORT=$((PORT+1))
4545
echo "Stopping $PORT"
46-
redis-cli -p $PORT shutdown nosave
46+
../../src/redis-cli -p $PORT shutdown nosave
4747
done
4848
exit 0
4949
fi
@@ -54,7 +54,7 @@ then
5454
while [ 1 ]; do
5555
clear
5656
date
57-
redis-cli -p $PORT cluster nodes | head -30
57+
../../src/redis-cli -p $PORT cluster nodes | head -30
5858
sleep 1
5959
done
6060
exit 0

0 commit comments

Comments
 (0)