Changeset 1213 in MondoRescue for branches/stable/mondo/src/common/libmondo-tools.c
- Timestamp:
- Feb 26, 2007, 2:04:43 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-tools.c
r1184 r1213 47 47 */ 48 48 static char *g_boot_mountpt = NULL; 49 50 /**51 * The location of Mondo's home directory.52 */53 char *g_mondo_home = NULL;54 49 55 50 /** … … 685 680 686 681 run_program_and_log_output("rm -Rf /tmp/changed.files*", FALSE); 687 if (find_and_store_mondoarchives_home(g_mondo_home)) {688 fprintf(stderr,689 "Cannot find Mondo's homedir. I think you have >1 'mondo' directory on your hard disk. Please delete the superfluous 'mondo' directories and try again\n");690 res++;691 return (res);692 682 } 693 683 res += some_basic_system_sanity_checks(); … … 1220 1210 iamhere("Malloc'ing globals"); 1221 1211 malloc_string(g_boot_mountpt); 1222 malloc_string(g_mondo_home);1223 1212 malloc_string(g_tmpfs_mountpt); 1224 1213 malloc_string(g_erase_tmpdir_and_scratchdir); … … 1228 1217 iamhere("Freeing globals"); 1229 1218 mr_free(g_boot_mountpt); 1230 mr_free(g_mondo_home);1231 1219 mr_free(g_tmpfs_mountpt); 1232 1220 mr_free(g_erase_tmpdir_and_scratchdir);
Note:
See TracChangeset
for help on using the changeset viewer.