avoid warning if file does not exist

This commit is contained in:
Dietmar Maurer 2013-07-25 10:18:27 +02:00
parent 6c3aef09cb
commit b8e02bc2dc

View File

@ -978,7 +978,7 @@ sub read_apt_auth {
local $/;
my $raw = <$fd>;
my $raw = defined($fd) ? <$fd> : '';
$raw =~ s/^\s+//;