equal
deleted
inserted
replaced
203 BufferedReader br = new BufferedReader(isr); |
203 BufferedReader br = new BufferedReader(isr); |
204 String lineRead; |
204 String lineRead; |
205 while ((lineRead = br.readLine()) != null) { |
205 while ((lineRead = br.readLine()) != null) { |
206 if (consumer != null) { |
206 if (consumer != null) { |
207 consumer.print(lineRead + '\n'); |
207 consumer.print(lineRead + '\n'); |
208 } else if (verbose) { |
|
209 Log.info(lineRead); |
|
210 } else { |
208 } else { |
211 Log.debug(lineRead); |
209 Log.verbose(lineRead); |
212 } |
210 } |
213 } |
211 } |
214 try { |
212 try { |
215 int ret = p.waitFor(); |
213 int ret = p.waitFor(); |
216 if (ret != 0 && !(testForPresenseOnly && ret != 127)) { |
214 if (ret != 0 && !(testForPresenseOnly && ret != 127)) { |