Skip to content
Snippets Groups Projects
Commit a7fba47a authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

show error if a download failed

parent d6f77976
Branches
No related tags found
No related merge requests found
...@@ -135,7 +135,12 @@ setprofile $1 ...@@ -135,7 +135,12 @@ setprofile $1
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
header "Download ${IMLCI_PROJECT}.tgz" header "Download ${IMLCI_PROJECT}.tgz"
isupdate=0 isupdate=0
${selfdir}/bin/getfile.sh -f ${IMLCI_PROJECT}.tgz -o ${downloadtmp} || exit 1 ${selfdir}/bin/getfile.sh -f ${IMLCI_PROJECT}.tgz -o ${downloadtmp}
if [ $? -ne 0 ]; then
echo Repeating request with debug param -d to get the error...
${selfdir}/bin/getfile.sh -d -f ${IMLCI_PROJECT}.tgz -o ${downloadtmp}
exit 1
fi
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment