[pve-devel] [PATCH pve-container] Don't die in vm_shutdown when we have no errors

2015-09-09 Thread Emmanuel Kasper
This fixes bugzilla entry: https://bugzilla.proxmox.com/show_bug.cgi?id=707
---
 src/PVE/API2/LXC/Status.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/API2/LXC/Status.pm b/src/PVE/API2/LXC/Status.pm
index 761a3c8..5e5e116 100644
--- a/src/PVE/API2/LXC/Status.pm
+++ b/src/PVE/API2/LXC/Status.pm
@@ -316,7 +316,7 @@ __PACKAGE__->register_method({
run_command($cmd);
}
 
-   die $err if !$err;
+   die $err if $err;
 
return;
};
-- 
2.1.4


___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] [PATCH pve-container] Don't die in vm_shutdown when we have no errors

2015-09-09 Thread Dietmar Maurer
> 
> This fixes bugzilla entry: https://bugzilla.proxmox.com/show_bug.cgi?id=707
>

applied, thanks.

___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel