]> git.proxmox.com Git - qemu-server.git/commitdiff
followup: what vs. why comment
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 11 Nov 2019 17:05:20 +0000 (18:05 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 11 Nov 2019 17:05:20 +0000 (18:05 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer.pm

index 6361785b42972a46806dd2d6c32cb247ba244d61..1890448f421a374cc786588c34d794c4c74e16b5 100644 (file)
@@ -5806,7 +5806,7 @@ sub vm_reboot {
 
        };
        if (my $err = $@) {
-           # clear reboot request if reboot fails for some reason
+           # avoid that the next normal shutdown will be confused for a reboot
            clear_reboot_request($vmid);
            die $err;
        }