Changeset 1548 in MondoRescue for branches/stable/mondo/src/mondoarchive
- Timestamp:
- Jul 24, 2007, 1:39:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondoarchive/mondo-cli.c
r1529 r1548 577 577 mr_asprintf(&psz, list_of_NFS_mounts_only()); 578 578 if (bkpinfo->exclude_paths[0]) { 579 strncat(bkpinfo->exclude_paths, " ", MAX_STR_LEN);580 } 581 strncat(bkpinfo->exclude_paths, psz, MAX_STR_LEN);579 strncat(bkpinfo->exclude_paths, " ", 4*MAX_STR_LEN); 580 } 581 strncat(bkpinfo->exclude_paths, psz, 4*MAX_STR_LEN); 582 582 mr_free(psz); 583 583 mr_msg(3, "-N means we're now excluding %s", 584 584 bkpinfo->exclude_paths); 585 585 } 586 if (strlen(bkpinfo->exclude_paths) >= MAX_STR_LEN) {586 if (strlen(bkpinfo->exclude_paths) >= 4*MAX_STR_LEN) { 587 587 fatal_error 588 ("Your '-E' parameter is too long. Please use '-J'. (See manual.)");588 ("Your '-E' parameter is too long. Increase MAX_STR_LEN"); 589 589 } 590 590 if (flag_set['b']) {
Note:
See TracChangeset
for help on using the changeset viewer.