def run
retrycount = 0
process_status = false
@cmd = locate_command(@cmdname)
setpass
@result = nil
logger.debug(makecommand) if logger
begin
command = makecommand
@lastcall = "#{command}"
@result = `#{command} 2>&1`
process_status = validate_status($?)
rescue
if retrycount < max_retry_count
find_fix(@result)
retrycount = retrycount.next
retry
else
logger.error("Exhausted all auto fixes, cannot determine what the problem is") if logger
raise "Exhausted all auto fixes, cannot determine what the problem is"
end
ensure
removepass
return process_status
end
end