small fix

git-svn-id: file:///home/svn/framework3/trunk@10340 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Carlos Perez 2010-09-16 19:51:35 +00:00
parent 99e2218d13
commit 1cb4d17df7
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ require 'fileutils'
pid = nil
name = nil
toggle = nil
resource = ""
resource = nil
opts = Rex::Parser::Arguments.new(
"-h" => [ false, "Help menu." ],
"-p" => [ true, "PID of process to dump."],
@ -35,6 +35,7 @@ opts.parse(args) { |opt, idx, val|
toggle = true
when "-r"
list = val
resource = ""
if not ::File.exists?(list)
raise "Command List File does not exists!"
else