Skip to content

Commit a3c372a

Browse files
committed
Fix error when lsof did not work
1 parent 13ebc53 commit a3c372a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tool/lib/leakchecker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ def check_fd_leak(test_name)
135135
false
136136
end
137137
end
138+
puts(header, open_list) unless open_list.empty?
138139
end
139-
puts(header, open_list) unless open_list.empty?
140140
end
141141
end
142142
inspect.each {|fd, (str, pos)|

0 commit comments

Comments
 (0)