From: Wolfgang Bumiller Date: Fri, 7 Aug 2015 07:49:53 +0000 (+0200) Subject: fix access of possibly undefined variable X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=commitdiff_plain;h=d6eb66211950cf1f9d6cc832a4dfe74a91443fe8 fix access of possibly undefined variable --- diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index 955e143..bfee816 100644 --- a/PVE/AccessControl.pm +++ b/PVE/AccessControl.pm @@ -708,6 +708,7 @@ sub parse_user_config { userconfig_force_defaults($cfg); + $raw = '' if !defined($raw); while ($raw =~ /^\s*(.+?)\s*$/gm) { my $line = $1; my @data;