projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3aef0
)
avoid warning if file does not exist
author
Dietmar Maurer
<dietmar@proxmox.com>
Thu, 25 Jul 2013 08:18:27 +0000
(10:18 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Thu, 25 Jul 2013 08:18:27 +0000
(10:18 +0200)
data/PVE/INotify.pm
patch
|
blob
|
blame
|
history
diff --git
a/data/PVE/INotify.pm
b/data/PVE/INotify.pm
index
f18a10b
..
c6a736d
100644
(file)
--- a/
data/PVE/INotify.pm
+++ b/
data/PVE/INotify.pm
@@
-978,7
+978,7
@@
sub read_apt_auth {
local $/;
- my $raw =
<$fd>
;
+ my $raw =
defined($fd) ? <$fd> : ''
;
$raw =~ s/^\s+//;