Changeset 1540 in MondoRescue for branches/2.2.5/mondo/src/mondoarchive/mondo-cli.c
- Timestamp:
- Jul 20, 2007, 1:28:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/mondoarchive/mondo-cli.c
r1236 r1540 725 725 strncpy(psz, list_of_NFS_mounts_only(), MAX_STR_LEN); 726 726 if (bkpinfo->exclude_paths[0]) { 727 strncat(bkpinfo->exclude_paths, " ", MAX_STR_LEN);728 } 729 strncat(bkpinfo->exclude_paths, psz, MAX_STR_LEN);727 strncat(bkpinfo->exclude_paths, " ", 4*MAX_STR_LEN); 728 } 729 strncat(bkpinfo->exclude_paths, psz, 4*MAX_STR_LEN); 730 730 log_msg(3, "-N means we're now excluding %s", 731 731 bkpinfo->exclude_paths); 732 732 } 733 if (strlen(bkpinfo->exclude_paths) >= MAX_STR_LEN) {733 if (strlen(bkpinfo->exclude_paths) >= 4*MAX_STR_LEN) { 734 734 fatal_error 735 ("Your '-E' parameter is too long. Please use '-J'. (See manual.)");735 ("Your '-E' parameter is too long. Increase MAX_STR_LEN"); 736 736 } 737 737 if (flag_set['b']) {
Note:
See TracChangeset
for help on using the changeset viewer.