diff options
-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; |