Skip to content

Commit 8c7224f

Browse files
committedSep 15, 2015
Add stop_db message
1 parent f17f26d commit 8c7224f

File tree

1 file changed

+1
-0
lines changed
  • config/templates/metasploit-framework-wrappers

1 file changed

+1
-0
lines changed
 

‎config/templates/metasploit-framework-wrappers/msfdb.erb

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ end
6161

6262
def stop_db
6363
if system("#{@pg_ctl} -o \"-p #{@dbport}\" -D #{@db} status > /dev/null")
64+
puts "Stopping database at #{@db}"
6465
system("#{@pg_ctl} -o \"-p #{@dbport}\" -D #{@db} stop > /dev/null")
6566
else
6667
puts "Database is no longer running at #{@db}"

0 commit comments

Comments
 (0)
Please sign in to comment.