followup: what vs. why comment

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-11-11 18:05:20 +01:00
parent 66026117b0
commit 3c1c3fe6a1

View 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;
}