Changeset 2715 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-cli.c
- Timestamp:
- Feb 2, 2011, 1:18:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-cli.c
r2704 r2715 268 268 /* Cut the flag_val['I'] in parts containing all paths to test them */ 269 269 while (p != NULL) { 270 q = strchr(p, ' 270 q = strchr(p, '|'); 271 271 if (q != NULL) { 272 272 *q = '\0'; … … 590 590 /* Cut the flag_val['E'] in parts containing all paths to test them */ 591 591 while (p != NULL) { 592 q = strchr(p, ' 592 q = strchr(p, '|'); 593 593 if (q != NULL) { 594 594 *q = '\0'; … … 625 625 if ((flag_set['N']) && (! bkpinfo->restore_data)) // exclude Network mounts & devices 626 626 { 627 mr_asprintf(psz, "%s", list_of_NETFS_mounts_only()); 628 mr_strcat(bkpinfo->exclude_paths, " %s ", psz); 629 mr_free(psz); 627 psz = list_of_NETFS_mounts_only(); 628 log_msg(5, "-N means we'll exclude %s", psz); 629 if (bkpinfo->exclude_paths) { 630 mr_strcat(bkpinfo->exclude_paths, "|%s", psz); 631 mr_free(psz); 632 } else { 633 bkpinfo->exclude_paths = psz; 634 } 630 635 631 636 if (bkpinfo->exclude_paths != NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.