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

Commit 2f93029

Browse files
author
Paul Korzhyk
committed
Don't wait for Dgraph to stop
1 parent ccae016 commit 2f93029

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

scripts/functions.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@ function quit {
1313

1414
if pgrep -x dgraph > /dev/null
1515
then
16-
while pgrep dgraph;
17-
do
18-
echo "Sleeping for 5 secs so that Dgraph can shutdown."
19-
sleep 5
20-
done
16+
echo "Sleeping for 5 secs so that Dgraph can shutdown."
17+
sleep 5
2118
fi
2219

2320
echo "Clean shutdown done."

0 commit comments

Comments
 (0)