Merge changes Ic53c9f04,Iae5644f6,Ib3975607
[transportpce.git] / tests / install_honeynode.sh
index 76c652bb1e644f65483fabba54c5b4315d0841cf..c40d80eb8895896b177d6439a30a0025adf93178 100755 (executable)
@@ -44,7 +44,7 @@ do
     #complete source code can be found at https://gitlab.com/Orange-OpenSource/lfn/odl/honeynode-simulator.git
 
     echo "Installing honeynode for $VERSION devices to $INSTALL_DIR directory "
-    curl --retry-delay 10 --retry 3 -sS --location --request GET $TARGET_URL -o $ARTIFACT_ZIPFILE
+    curl --retry-delay 10 --retry 3 -sS --location --request GET $TARGET_URL -o $ARTIFACT_ZIPFILE || exit 2
     unzip -q $ARTIFACT_ZIPFILE -d $TARGET_DIR
     rm -f $ARTIFACT_ZIPFILE