* Hide warnings about a missing "lsof" (NIX-54).

This commit is contained in:
Eelco Dolstra 2006-09-20 15:14:19 +00:00
parent a060adf165
commit 947e645789
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ sub readProc {
sub lsof {
return unless open LSOF, "lsof -n -w -F n |";
return unless open LSOF, "lsof -n -w -F n 2> /dev/null |";
while (<LSOF>) {
next unless /^n (\/ .*)$/x;