On 4/5/20 10:33 AM, Alexandre Derumier wrote: > Signed-off-by: Alexandre Derumier <aderum...@odiso.com> > --- > src/PVE/INotify.pm | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm > index 3fa5af6..871deda 100644 > --- a/src/PVE/INotify.pm > +++ b/src/PVE/INotify.pm > @@ -924,6 +924,8 @@ sub __read_etc_network_interfaces { > > while (defined ($line = <$fh>)) { > chomp $line; > + $line =~ s/\s+$//; > + > if ($line =~ m/^\s*#(.*?)\s*$/) { > $f->{comments} = '' if !$f->{comments}; > my $comment = decode('UTF-8', $1); >
applied, but dropped the "chomp" line as followup, it really shouldn't be required anymore.. thanks! _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel