Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com> --- src/PVE/LXC/Command.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Command.pm b/src/PVE/LXC/Command.pm index 825c354..0a52d47 100644 --- a/src/PVE/LXC/Command.pm +++ b/src/PVE/LXC/Command.pm @@ -165,7 +165,7 @@ sub get_cgroup_path($;$$) { my ($res, $data) = simple_command( $vmid, $limiting ? LXC_CMD_GET_LIMITING_CGROUP : LXC_CMD_GET_CGROUP, - pack('Z*', $subsystem), + defined($subsystem) && pack('Z*', $subsystem), ); return undef if !defined $res; -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel