Skip to content

Commit a8697cd

Browse files
committed
Land rapid7#17409, rhost walker handle interupt signal
2 parents 28230c6 + 7e1c3bc commit a8697cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/msf/core/rhosts_walker.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ def parse(value, datastore)
151151
results << datastore.merge(overrides)
152152
end
153153
end
154+
rescue ::Interrupt
155+
raise
154156
rescue StandardError => e
155157
results << Msf::RhostsWalker::Error.new(value, cause: e)
156158
end

0 commit comments

Comments
 (0)