delete upgrade dir after failed download

This commit is contained in:
Alfonso Gamboa 2022-06-12 17:47:15 -07:00
parent 64a3ab76b5
commit b47c67ec5a

View File

@ -34,6 +34,8 @@ then
install_upgrade_script
else
echo "Failure: archive has corrupted files"
echo "Delete failed upgrade dir"
rm -rf /opt/Upgrade
exit 1
fi