turn off set when testing for iso

This commit is contained in:
Louis Abel 2023-05-12 10:06:41 -07:00
parent cb5ee4bf3b
commit 714146d3d1
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36

View File

@ -6,7 +6,9 @@ function podman_setup_dirs() {
{{ lorax_pkg_cmd }}
mkdir -p {{ compose_work_iso_dir }}/{{ arch }}
cd {{ compose_work_iso_dir }}/{{ arch }}
test -f {{ isoname }} && { echo "ERROR: ISO ALREDY EXISTS!"; exit 1; }
set +e
test -f {{ isoname }} && { echo "ERROR: ISO ALREDY EXISTS!"; exit 32; }
set -e
}
function podman_create_links() {