aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 91520fe4e..11c96e8b2 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;