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); -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel