Skip to content

Commit fbbfb0a

Browse files
Meatballs1egypt
authored andcommitted
Merge and rescue ex correctly
1 parent ee9b1ef commit fbbfb0a

File tree

1 file changed

+1
-1
lines changed
  • spec/support/shared/contexts/msf/util

1 file changed

+1
-1
lines changed

spec/support/shared/contexts/msf/util/exe.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def verify_bin_fingerprint(format_hash, bin)
7171
fp = IO.popen("file -","w+") do |io|
7272
begin
7373
io.write(bin)
74-
rescue
74+
rescue Errno::EPIPE
7575
end
7676
io.close_write
7777
io.read

0 commit comments

Comments
 (0)