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