Skip to content

Commit 9d3f72f

Browse files
committed
Prevent attempt to double-start test daemons.
1 parent fca8faf commit 9d3f72f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

harness/setup.sh

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
LINE="---------------"
44

55
start() {
6+
if [ -d _harness ]; then
7+
echo "Daemon setup already in place, stop it first."
8+
exit 1
9+
fi
610
mkdir -p _harness
711
cd _harness
812
cp -a ../harness/daemons .

0 commit comments

Comments
 (0)