diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-20T15·14+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-20T15·14+0000 |
commit | 947e64578969e95e96157c7e2e52fd7299027184 (patch) | |
tree | 9b0d174e9dccbca88f620f7bb1699d6937845ef9 /scripts | |
parent | a060adf165e24a585da0301e88ad41e674f3e9db (diff) |
* Hide warnings about a missing "lsof" (NIX-54).
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/find-runtime-roots.pl.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/find-runtime-roots.pl.in b/scripts/find-runtime-roots.pl.in index 91520fe4ea16..11c96e8b2359 100644 --- a/scripts/find-runtime-roots.pl.in +++ b/scripts/find-runtime-roots.pl.in @@ -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; |