From d88dff4ba519295ab35a3e6938f195ab51ed6580 Mon Sep 17 00:00:00 2001
From: josh <josh@elixxir.io>
Date: Fri, 28 May 2021 11:04:31 -0700
Subject: [PATCH] Fix wait command

---
 basice2e/run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/basice2e/run.sh b/basice2e/run.sh
index f95a26d..b0020be 100755
--- a/basice2e/run.sh
+++ b/basice2e/run.sh
@@ -332,11 +332,11 @@ CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client42.log -s
 eval $CLIENTCMD >> $CLIENTOUT/client42.txt || true &
 echo "$CLIENTCMD -- $PIDVAL"
 PIDVAL1=$!
+wait $PIDVAL1
 CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client42.log -s blob42  --destid b64:$BENID --sendCount 5 --receiveCount 5 -m \"Hello from Rick42, with E2E Encryption\""
 eval $CLIENTCMD >> $CLIENTOUT/client42.txt || true &
 PIDVAL2=$!
 echo "$CLIENTCMD -- $PIDVAL"
-wait $PIDVAL1
 wait $PIDVAL2
 
 # echo "CREATING USERS for REKEY TEST..."
-- 
GitLab