Changeset 2319 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-tools.c
- Timestamp:
- Aug 18, 2009, 2:37:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-tools.c
r2318 r2319 417 417 char *cdr_exe; 418 418 char *tmp = NULL; 419 char *p = NULL; 419 420 char call_before_iso_user[MAX_STR_LEN] = "\0"; 420 421 /* … … 683 684 retval++; 684 685 } 685 if (bkpinfo->include_paths [0] == '\0') {686 // fatal_error ("Why no backup path?");687 strcpy(bkpinfo->include_paths, "/");686 if (bkpinfo->include_paths == NULL) { 687 mr_asprintf(&p, "/"); 688 bkpinfo->include_paths = p; 688 689 } 689 690 chmod(bkpinfo->scratchdir, 0700); … … 811 812 812 813 bkpinfo->optimal_set_size = 0; 813 strcpy(bkpinfo->include_paths, "/");814 814 bkpinfo->make_filelist = TRUE; // unless -J supplied to mondoarchive 815 bkpinfo->include_paths[0] = '\0';816 815 bkpinfo->restore_path[0] = '\0'; 817 816 bkpinfo->call_before_iso[0] = '\0'; … … 823 822 bkpinfo->nfs_user = NULL; 824 823 bkpinfo->exclude_paths = NULL; 824 bkpinfo->include_paths = NULL; 825 825 bkpinfo->nfs_remote_dir[0] = '\0'; 826 826 bkpinfo->postnuke_tarball[0] = '\0';
Note:
See TracChangeset
for help on using the changeset viewer.