Apache Lucene open-source search software
fix grep for pid
Yonik Seeley52c392fdf87d
diff --git a/src/scripts/rsyncd-stop b/src/scripts/rsyncd-stopindex bfddab34805..4c1bc29630a 100755--- a/src/scripts/rsyncd-stop+++ b/src/scripts/rsyncd-stop@@ -84,7 +84,7 @@ timer=0timeout=300while (( ! dead && timer < timeout ))do- if ps -eo pid | grep -q $pid+ if ps -eo pid | grep -qw $pidthenkill $pid(( timer++ ))@@ -93,7 +93,7 @@ dodead=1fidone-if ps -eo pid | grep -q $pid+if ps -eo pid | grep -qw $pidthenlogMessage rsyncd failed to stop after $timeout secondsexit 3