Skip to content

Commit 370aed5

Browse files
committed
Silence status output, it is distracting
1 parent fb0237a commit 370aed5

File tree

1 file changed

+1
-1
lines changed
  • lib/msf/ui/console/command_dispatcher

1 file changed

+1
-1
lines changed

lib/msf/ui/console/command_dispatcher/core.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2704,7 +2704,7 @@ def start_metasploit_service
27042704

27052705
def is_metasploit_service_running
27062706
cmd = "/usr/sbin/service"
2707-
system(cmd, "metasploit", "status") # Both running returns true, otherwise, false.
2707+
system("#{cmd} metasploit status >/dev/null") # Both running returns true, otherwise, false.
27082708
end
27092709

27102710
def is_metasploit_debian_package_installed

0 commit comments

Comments
 (0)