* Hide warnings about a missing "lsof" (NIX-54).
This commit is contained in:
parent
a060adf165
commit
947e645789
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue