forked from lix-project/lix
* Hide warnings about a missing "lsof" (NIX-54).
This commit is contained in:
parent
a060adf165
commit
947e645789
|
@ -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