]> git.deb.at Git - deb/packages.git/commit
Packages::DoSearchContents: Avoid breaking the grep pipe
authorFrank Lichtenheld <frank@lichtenheld.de>
Tue, 18 Sep 2007 16:04:24 +0000 (18:04 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Tue, 18 Sep 2007 16:04:24 +0000 (18:04 +0200)
commitaee28210328cf1867daba3d397bf77d0baa24ccc
treea89f95abd7784656331693aee97d3dfc0d5d2847
parent365cc50e2a22798a94e4bc01f767937ad057d609
Packages::DoSearchContents: Avoid breaking the grep pipe

Since grep doesn't handle SIGPIPE in any sane way but instead
clutters the error.log with useless comments like
"grep: writing output: Broken pipe" for each and every line it
wants to write, lets make it happy and read all the stuff in even
if we don't use it.
lib/Packages/DoSearchContents.pm