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
unstable
HD Moore 2010-07-07 18:14:51 +00:00
parent 1e0e92e5aa
commit c0aca105de
1 changed files with 1 additions and 1 deletions

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 }