Changeset 13458
- Timestamp:
- 2006-12-08T09:35:42+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/shell/GShell.java
r13326 r13458 177 177 178 178 179 protected int check_for_error(String line, StringBuffer error_list,180 int error_count)181 {182 if (line.startsWith("ERROR:")) {183 error_count++;184 if (error_count<10) {185 error_list.append(line);186 }187 else if (error_count==10) {188 error_list.append("...\n");189 }190 }191 return error_count;192 }193 194 195 179 private void runRemote(String[] args, BufferedOutputStream bos) 196 180 {
Note:
See TracChangeset
for help on using the changeset viewer.