1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

closes #2205. This is actually part of the bigger datastore bug

git-svn-id: file:///home/svn/framework3/trunk@9722 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2010-07-07 18:14:51 +00:00
parent 1e0e92e5aa
commit c0aca105de

View File

@ -27,7 +27,7 @@ end
# The command handler when launched from the console
#
def run
secs = datastore['RUNTIME']
secs = datastore['RUNTIME'].to_i
print_status("Running module for #{secs} seconds...")
begin
Timeout.timeout(secs) { self.run_timed }