summaryrefslogtreecommitdiff
path: root/tool/lib
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-09-17 11:53:07 -0700
committerJohn Hawthorn <john@hawthorn.email>2025-09-18 10:12:55 -0700
commit8073cd4ffa25da7917ccb4270b155c1a73ecc00f (patch)
tree596b7fc5b1c9bea6c5bffa55d8c5429e73050265 /tool/lib
parent7e6f7fbf9e3e951bc4df351c8246f641999ea12c (diff)
Pass -w to lsof
Diffstat (limited to 'tool/lib')
-rw-r--r--tool/lib/leakchecker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/leakchecker.rb b/tool/lib/leakchecker.rb
index 69aeb2c254..69df9a64b8 100644
--- a/tool/lib/leakchecker.rb
+++ b/tool/lib/leakchecker.rb
@@ -112,7 +112,7 @@ class LeakChecker
}
unless fd_leaked.empty?
unless @@try_lsof == false
- @@try_lsof |= system(*%W[lsof -a -d #{fd_leaked.minmax.uniq.join("-")} -p #$$], out: Test::Unit::Runner.output)
+ @@try_lsof |= system(*%W[lsof -w -a -d #{fd_leaked.minmax.uniq.join("-")} -p #$$], out: Test::Unit::Runner.output)
end
end
h.each {|fd, list|