Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit ee05072

Browse files
committed
Merge pull request #413 from cloudspokes/SUP-214-api-stability
it worked on my machine!
2 parents 69d402b + ac04d78 commit ee05072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fi
1313
if [ "$SIGNAL" == "" ]; then
1414
echo "Usage: workers.sh [reload|add|rm]"
1515
else
16-
pid=$(ps ax | grep startCluster | grep -v grep | cut -f1 -d' ')
16+
pid=$(ps ax | grep startCluster | grep -v grep | xargs | cut -f1 -d' ')
1717
if [ "$pid" == "" ]; then echo "No cluster master process found."
1818
else
1919
kill -$SIGNAL $pid

0 commit comments

Comments
 (0)