Changeset 1326 in MondoRescue for branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Apr 17, 2007, 12:08:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
r1275 r1326 44 44 45 45 extern int g_partition_table_locked_up; 46 extern char *MONDO_LOGFILE; 46 47 47 48 /* Should we use or not extended attributes and acl when restoring */ … … 1476 1477 mvaddstr_and_log_it(g_currentY++, 74, _("Failed.")); 1477 1478 log_to_screen 1478 (_ 1479 ("GRUB ran w/error(s). See /tmp/mondo-restore.log for more info.")); 1479 (_("GRUB ran w/error(s). See %s for more info.", MONDO_LOGFILE)); 1480 1480 mr_msg(1, "Type:-"); 1481 1481 mr_msg(1, " mount-me"); … … 1745 1745 mvaddstr_and_log_it(g_currentY++, 74, _("Failed.")); 1746 1746 log_to_screen 1747 (_ 1748 ("MBR+fstab processed w/error(s). See /tmp/mondo-restore.log for more info.")); 1747 (_("MBR+fstab processed w/error(s). See %s for more info.", MONDO_LOGFILE)); 1749 1748 } else { 1750 1749 mvaddstr_and_log_it(g_currentY++, 74, _("Done.")); … … 1976 1975 sync(); 1977 1976 1978 if (run_program_and_log_output1979 ("cp -f /tmp/mondo-restore.log " MNT_RESTORING "/tmp/", FALSE)) {1977 sprintf(tmp, "cp -f %s " MNT_RESTORING "/var/log", MONDO_LOGFILE); 1978 if (run_program_and_log_output(tmp, FALSE)) { 1980 1979 mr_msg(1, 1981 "Error. Failed to copy log to PC's /tmp dir. (Mounted read-only?)"); 1982 } 1983 if (run_program_and_log_output 1984 ("cp -f /tmp/mondo-restore.log " MNT_RESTORING "/root/", FALSE)) { 1985 mr_msg(1, 1986 "Error. Failed to copy log to PC's /root dir. (Mounted read-only?)"); 1980 "Error. Failed to copy log to PC's /var/log dir. (Mounted read-only?)"); 1987 1981 } 1988 1982 if (does_file_exist("/tmp/DUMBASS-GENTOO")) {
Note:
See TracChangeset
for help on using the changeset viewer.