]> git.proxmox.com Git - pve-installer.git/commitdiff
gtk: return truthy for rescheduling the timer for autoreboot
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 09:58:36 +0000 (11:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 10:10:09 +0000 (12:10 +0200)
This definitively worked without that value when the functionality
was first added in dfc02f3 ("fix #3093: allow to automatically reboot
on installation success"), so possibly something new with the glib,
gtk, or the perl bindings in bookworm..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxinstall

index 6d138928573fb0ba3be4a739e8c6d61e202c456a..8c49cd6f55916b557ac76643490c775c0eefdce9 100755 (executable)
@@ -1536,6 +1536,7 @@ sub create_extract_view {
                if ($autoreboot_seconds > 0) {
                    $autoreboot_seconds--;
                    Proxmox::UI::display_html("success.htm", $success_transform);
+                   return 1; # re-schedule, undef isn't enough anymore since Bookworm
                } else {
                    app_quit(0);
                }