about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-07-21T12·28+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-07-21T12·28+0000
commitdcded7da4704ae66ebbb4343597868a7eb992aa7 (patch)
tree69e539126bac7ef68bc99ef8c7a046da76eb5efb
parenta4273156c43db7325d27cb21e460b57a998ee882 (diff)
* Don't try to do DNS lookups.
-rw-r--r--scripts/Makefile.am2
-rw-r--r--scripts/find-runtime-roots.pl.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 7b0aef061b3a..7f76a68a351a 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -3,7 +3,7 @@ bin_SCRIPTS = nix-collect-garbage \
   nix-install-package nix-channel nix-build \
   nix-pack-closure nix-unpack-closure
 
-noinst_SCRIPTS = nix-profile.sh generate-patches.pl
+noinst_SCRIPTS = nix-profile.sh generate-patches.pl find-runtime-roots.pl
 
 nix-pull nix-push: readmanifest.pm readconfig.pm download-using-manifests.pl
 
diff --git a/scripts/find-runtime-roots.pl.in b/scripts/find-runtime-roots.pl.in
index 3e55ee4458d3..91520fe4ea16 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 -b -w -F n |";
+    return unless open LSOF, "lsof -n -w -F n |";
 
     while (<LSOF>) {
         next unless /^n (\/ .*)$/x;