Changeset 292 in MondoRescue for trunk/mondo/mondo/mondoarchive
- Timestamp:
- Jan 10, 2006, 9:51:24 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/mondoarchive/mondo-cli.c
r219 r292 221 221 long itbs; 222 222 223 struct stat buf; 224 223 225 assert(bkpinfo != NULL); 224 226 assert(flag_val != NULL); … … 297 299 if (bkpinfo->include_paths[0]) { 298 300 strcat(bkpinfo->include_paths, " "); 301 } 302 if (stat(flag_val['I'], &buf) != 0) { 303 log_msg("ERROR ! %s doesn't exist", flag_val['I']); 304 fatal_error("ERROR ! You specified a directory to include which doesn't exist"); 299 305 } 300 306 strncpy(bkpinfo->include_paths + strlen(bkpinfo->include_paths), … … 509 515 if (bkpinfo->exclude_paths[0]) { 510 516 strcat(bkpinfo->exclude_paths, " "); 517 } 518 if (stat(flag_val['E'], &buf) != 0) { 519 log_msg(1, "WARNING ! %s doesn't exist", flag_val['E']); 511 520 } 512 521 strncpy(bkpinfo->exclude_paths + strlen(bkpinfo->exclude_paths),
Note:
See TracChangeset
for help on using the changeset viewer.