]> git.proxmox.com Git - pve-container.git/commit
fix undef warning when apparmor changeprofile fails
authorFilip Schauer <f.schauer@proxmox.com>
Tue, 9 Apr 2024 09:26:23 +0000 (11:26 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 9 Apr 2024 09:35:37 +0000 (11:35 +0200)
commit68e51d5faa415cdb16f9a9eca872ee355bfa1898
tree16e749d64ef9246d5b491c631fd7dbfb8875c35c
parent05c355a922896471c29538dd02a5cb65658e00e5
fix undef warning when apparmor changeprofile fails

Fix a "Use of uninitialized value in numeric ne (!=)" warning when
syswrite returns undef when trying to change the apparmor profile.

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
src/PVE/LXC.pm