aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap-vpp-honeycomb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap-vpp-honeycomb.sh')
-rwxr-xr-xbootstrap-vpp-honeycomb.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap-vpp-honeycomb.sh b/bootstrap-vpp-honeycomb.sh
index 66d72b0f87..41bb4db78d 100755
--- a/bootstrap-vpp-honeycomb.sh
+++ b/bootstrap-vpp-honeycomb.sh
@@ -162,7 +162,7 @@ VIRL_SID=$(ssh ${SSH_OPTIONS} \
${VIRL_USERNAME}@${VIRL_SERVER} \
"start-testcase -c ${VIRL_TOPOLOGY} -r ${VIRL_RELEASE} ${VPP_DEBS_FULL[@]}")
retval=$?
-if [ "$?" -ne "0" ]; then
+if [ ${retval} -ne "0" ]; then
echo "VIRL simulation start failed"
exit ${retval}
fi
@@ -184,7 +184,7 @@ scp ${SSH_OPTIONS} \
topologies/enabled/topology.yaml
retval=$?
-if [ "$?" -ne "0" ]; then
+if [ ${retval} -ne "0" ]; then
echo "Failed to copy topology file from VIRL simulation"
exit ${retval}
fi