diff options
author | Sven Eden <yamakuzure@gmx.net> | 2013-11-25 09:08:22 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2013-11-25 09:08:22 +0100 |
commit | 583d6c70e4e06a60445a0f9e744914c96f14c79a (patch) | |
tree | b27f2482ce4c3c73cb66ce91389e1ac78d61ace5 /Portage.pm | |
parent | Added error messages and reporting of those if the file parsing failes. (diff) | |
download | ufed-583d6c70e4e06a60445a0f9e744914c96f14c79a.tar.gz ufed-583d6c70e4e06a60445a0f9e744914c96f14c79a.tar.bz2 ufed-583d6c70e4e06a60445a0f9e744914c96f14c79a.zip |
ufed.pl/Portage.pm: Parsing error messages from eval are now chomp'ed
Diffstat (limited to 'Portage.pm')
-rw-r--r-- | Portage.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -999,8 +999,8 @@ sub _read_sh { } } }; - defined($@) and length($@) and - die "Parse error in $fname\n - Error: \"$@\"\n"; + defined($@) and length($@) and chomp $@ + and die "Parse error in $fname\n - Error: \"$@\"\n"; } _merge_env(\%env); return %env if wantarray; |