]> git.proxmox.com Git - pve-container.git/commitdiff
Don't die in vm_shutdown when we have no errors
authorEmmanuel Kasper <e.kasper@proxmox.com>
Wed, 9 Sep 2015 13:41:00 +0000 (15:41 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 9 Sep 2015 15:20:45 +0000 (17:20 +0200)
This fixes bugzilla entry: https://bugzilla.proxmox.com/show_bug.cgi?id=707

src/PVE/API2/LXC/Status.pm

index 761a3c83a5d33c553b0aef77997422c83f73d307..5e5e11678177ebe73ba8d436cebba9e476d47620 100644 (file)
@@ -316,7 +316,7 @@ __PACKAGE__->register_method({
                run_command($cmd);
            }
 
-           die $err if !$err;
+           die $err if $err;
 
            return;
        };