diff --git a/netboot/mk-s390image b/netboot/mk-s390image index de8158c7..e7280972 100755 --- a/netboot/mk-s390image +++ b/netboot/mk-s390image @@ -44,7 +44,7 @@ cleanup() fi if [ -n "$image" ] && [ "$success" = no ] then - rm -- "$image" + rm -f -- "$image" fi } trap cleanup EXIT