mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-05 00:36:24 +00:00
followup: what vs. why comment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
66026117b0
commit
3c1c3fe6a1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user