Skip to content

Commit 2d2c946

Browse files
committed
Land rapid7#5279, fix for msfconsole -o
2 parents cbaaea2 + 3e40433 commit 2d2c946

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rex/ui/text/output/file.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def print_raw(msg = '')
3131
self.fd.flush
3232
msg
3333
end
34+
alias_method :write, :print_raw
3435

3536
def close
3637
self.fd.close if self.fd

0 commit comments

Comments
 (0)