Skip to content

Commit 8073cd4

Browse files
committed
Pass -w to lsof
1 parent 7e6f7fb commit 8073cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/lib/leakchecker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def check_fd_leak(test_name)
112112
}
113113
unless fd_leaked.empty?
114114
unless @@try_lsof == false
115-
@@try_lsof |= system(*%W[lsof -a -d #{fd_leaked.minmax.uniq.join("-")} -p #$$], out: Test::Unit::Runner.output)
115+
@@try_lsof |= system(*%W[lsof -w -a -d #{fd_leaked.minmax.uniq.join("-")} -p #$$], out: Test::Unit::Runner.output)
116116
end
117117
end
118118
h.each {|fd, list|

0 commit comments

Comments
 (0)