Skip to content

Commit

Permalink
show full path
Browse files Browse the repository at this point in the history
  • Loading branch information
h00die committed Oct 8, 2018
1 parent 0827bc5 commit 71a6d80
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,12 @@ def cmd_webcam_stream(*args)
::File.open(player_path, 'wb') do |f|
f.write(html)
end
path = ::File.expand_path(player_path)
if view
print_status("Opening player at: #{player_path}")
print_status("Opening player at: #{path}")
Rex::Compat.open_file(player_path)
else
print_status("Please open the player manually with a browser: #{player_path}")
print_status("Please open the player manually with a browser: #{path}")
end

print_status("Streaming...")
Expand Down

0 comments on commit 71a6d80

Please sign in to comment.