Commit 321cc94a authored by Baptiste CHOCOT's avatar Baptiste CHOCOT
Browse files

Exit 1 when unzipping fails

parent 3d361d63
Pipeline #230575 passed with stage
in 24 seconds
......@@ -34,6 +34,9 @@ fi
archive=`ls`
python3 -c "import shutil; shutil.unpack_archive('${archive}'); print('Archive uncompressed')"
if [[ $? -ne 0 ]]; then
exit 1
fi
rm $archive
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment