about summary refs log tree commit diff
path: root/scripts/find-runtime-roots.pl.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-20T15·14+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-20T15·14+0000
commit947e64578969e95e96157c7e2e52fd7299027184 (patch)
tree9b0d174e9dccbca88f620f7bb1699d6937845ef9 /scripts/find-runtime-roots.pl.in
parenta060adf165e24a585da0301e88ad41e674f3e9db (diff)
* Hide warnings about a missing "lsof" (NIX-54).
Diffstat (limited to 'scripts/find-runtime-roots.pl.in')
-rw-r--r--scripts/find-runtime-roots.pl.in2
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;