Changes in branches [3341:3342] in MondoRescue
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-cli.c
r3341 r3342 230 230 231 231 if (flag_set['I']) { 232 if ( bkpinfo->include_paths && bkpinfo->include_paths[0] == '-') {232 if (flag_val['I'][0] == '-') { 233 233 retval++; 234 234 log_to_screen("Please supply a sensible value with '-I'\n"); 235 235 } 236 if ( bkpinfo->include_paths && !strcmp(bkpinfo->include_paths,"/")) {236 if (!strcmp(flag_val['I'],"/")) { 237 237 log_msg(2, "'/' is pleonastic."); 238 mr_free(bkpinfo->include_paths);239 238 } 240 239 if (bkpinfo->include_paths && bkpinfo->include_paths[0]) { … … 560 559 561 560 if (flag_set['E']) { 562 if ( bkpinfo->exclude_paths && (bkpinfo->exclude_paths[0] == '-')) {561 if ((flag_val['E'][0] == '-')) { 563 562 retval++; 564 563 log_to_screen("Please supply a sensible value with '-E'\n");
Note:
See TracChangeset
for help on using the changeset viewer.