iopupgrade: Prevent cleaning twice.

This commit is contained in:
Ronny Nilsson 2019-12-04 15:06:18 +01:00
parent cdce816fd2
commit 42c0e1ecc8

View file

@ -56,6 +56,7 @@ function finish {
then
function_call upd_cleanup
run_cleanup=0
log ""
fi
@ -90,7 +91,6 @@ function sig_pipe {
# if a timout happens terminate
function timeout {
finish
exit 1
}