Changeset 289 in MondoRescue for branches/2.06/mondo/mondo/mondoarchive/mondo-cli.c
- Timestamp:
- Jan 10, 2006, 9:35:09 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.06/mondo/mondo/mondoarchive/mondo-cli.c
r273 r289 360 360 long itbs; 361 361 362 struct stat buf; 363 362 364 malloc_string(tmp); 363 365 malloc_string(psz); … … 439 441 if (bkpinfo->include_paths[0]) { 440 442 strcat(bkpinfo->include_paths, " "); 443 } 444 if (stat(flag_val['I'], &buf) != 0) { 445 log_msg("ERROR ! %s doesn't exist", flag_val['I']); 446 fatal_error("ERROR ! You specified a directory to include which doesn't exist"); 441 447 } 442 448 strncpy(bkpinfo->include_paths + strlen(bkpinfo->include_paths), … … 652 658 if (bkpinfo->exclude_paths[0]) { 653 659 strcat(bkpinfo->exclude_paths, " "); 660 } 661 if (stat(flag_val['E'], &buf) != 0) { 662 log_msg(1, "WARNING ! %s doesn't exist", flag_val['E']); 654 663 } 655 664 strncpy(bkpinfo->exclude_paths + strlen(bkpinfo->exclude_paths),
Note:
See TracChangeset
for help on using the changeset viewer.