about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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;