X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=PVE%2FAuth%2FPVE.pm;h=8714a6b6a5131a47ab65942c9402d9025736f20f;hp=71479979eea163f47787f9d2e96fe0d869121f55;hb=8978ab373c63fe92e4bfe17cc64fe593b3fd27f1;hpb=cca9761a2093a9be9630e4a94d6b83edd7684567 diff --git a/PVE/Auth/PVE.pm b/PVE/Auth/PVE.pm index 7147997..8714a6b 100755 --- a/PVE/Auth/PVE.pm +++ b/PVE/Auth/PVE.pm @@ -19,6 +19,8 @@ sub parse_shadow_passwd { my $shadow = {}; + return $shadow if !defined($raw); + while ($raw =~ /^\s*(.+?)\s*$/gm) { my $line = $1;