mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-27 00:11:47 +00:00
avoid warning if file does not exist
This commit is contained in:
parent
6c3aef09cb
commit
b8e02bc2dc
@ -978,7 +978,7 @@ sub read_apt_auth {
|
||||
|
||||
local $/;
|
||||
|
||||
my $raw = <$fd>;
|
||||
my $raw = defined($fd) ? <$fd> : '';
|
||||
|
||||
$raw =~ s/^\s+//;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user