iopupgrade: The variables are written as integers and thus should be read as integers.

This commit is contained in:
Ronny Nilsson 2019-12-04 15:04:31 +01:00
parent a49951ad7e
commit cdce816fd2

View file

@ -52,14 +52,14 @@ function log {
# anyhting it calls as stdout/stderr might no longer exist
function finish {
if [ "$run_cleanup" == "1" ]
if [ $run_cleanup -eq 1 ]
then
function_call upd_cleanup
log ""
fi
if [ "$run_mount_cleanup" == "1" ]
if [ $run_mount_cleanup -eq 1 ]
then
log "Cleaning up after mount"
umount_newroot