diff --git a/iopupgrade/files/sbin/iopu b/iopupgrade/files/sbin/iopu index b3f9f8673..9a3c161a5 100755 --- a/iopupgrade/files/sbin/iopu +++ b/iopupgrade/files/sbin/iopu @@ -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