Skip to content

Commit

Permalink
total to bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
h00die committed Sep 18, 2023
1 parent d1dc54a commit e8d73c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/msf/ui/console/command_dispatcher/db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -807,8 +807,8 @@ def cmd_db_stats(*args)
# total row
tbl << [
"",
"",
"Total (#{::Mdm::Workspace.count.to_fs(:delimited)})",
"Total",
::Mdm::Workspace.count.to_fs(:delimited),
::Mdm::Host.count.to_fs(:delimited),
::Mdm::Service.count.to_fs(:delimited),
::Mdm::Host.count> 0 ? (::Mdm::Service.count.to_f / ::Mdm::Host.count).truncate(2) : 0,
Expand Down

0 comments on commit e8d73c1

Please sign in to comment.