lib/netutils/cli.rb in netutils-0.1.1 vs lib/netutils/cli.rb in netutils-0.1.2

- old
+ new

@@ -66,10 +66,10 @@ @passwdprompt = 'Password:' @telnetopt = Hash.new @telnetopt['Timeout' ] = TIMEOUT if defined?(LOGDIR) path = File.dirname(__FILE__) - path += "/../" + path += "/../../" path += "/#{LOGDIR}/#{ia}.log" path = File.expand_path(path).untaint @telnetopt['Output_log'] = path end #@telnetopt['Dump_log'] = '/dev/stdout'