Changeset 1326 in MondoRescue for branches/stable/mondo/src/common
- Timestamp:
- Apr 17, 2007, 12:08:14 AM (18 years ago)
- Location:
- branches/stable/mondo/src/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-archive.c
r1302 r1326 84 84 extern char *g_getfacl; 85 85 extern char *g_getfattr; 86 extern char *MONDO_LOGFILE; 86 87 87 88 … … 1789 1790 } else { 1790 1791 log_to_screen("%s...OK", message_to_screen); 1791 if (!run_program_and_log_output 1792 ("tail -n10 /var/log/mondo-archive.log | grep -F ':-('", 1793 1)) { 1792 sprintf(tmp, "tail -n10 %s | grep -F ':-('", MONDO_LOGFILE); 1793 if (!run_program_and_log_output(tmp, 1)) { 1794 1794 log_to_screen 1795 1795 ("Despite nonfatal errors, growisofs confirms the write was successful."); -
branches/stable/mondo/src/common/libmondo-filelist.c
r1283 r1326 35 35 #define MAX_SKEL_DEPTH 3 36 36 37 38 extern char *MONDO_LOGFILE; 37 39 38 40 int mondo_makefilelist(char *logfile, char *tmpdir, char *scratchdir, -
branches/stable/mondo/src/common/newt-specific.c
r1293 r1326 31 31 #include "libmondo-fork-EXT.h" 32 32 #include "newt-specific-EXT.h" 33 34 extern char *MONDO_LOGFILE; 33 35 34 36 /*@unused@*/ … … 344 346 printf(_("The list's members can help you, if you attach that file to your e-mail.\n")); 345 347 printf(_("Log file: %s\n"), MONDO_LOGFILE); 346 /*347 system348 ("gzip -9c /var/log/mondo-archive.log > /tmp/MA.log.gz 2> /dev/null");349 if (does_file_exist("/tmp/MA.log.gz")) {350 printf351 ("FYI, I have gzipped the log and saved it to /tmp/MA.log.gz\n");352 }353 */354 348 printf(_("Mondo has aborted.\n")); 355 349 register_pid(0, "mondo"); // finish() does this too, FYI
Note:
See TracChangeset
for help on using the changeset viewer.