From 947e64578969e95e96157c7e2e52fd7299027184 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 20 Sep 2006 15:14:19 +0000 Subject: [PATCH] * Hide warnings about a missing "lsof" (NIX-54). --- scripts/find-runtime-roots.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { next unless /^n (\/ .*)$/x;