Changeset 1326 in MondoRescue for branches/stable/mondo/src/mondorestore/mondo-rstr-compare.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-compare.c
r1293 r1326 15 15 #include "mondo-rstr-tools-EXT.h" 16 16 17 extern char *MONDO_LOGFILE; 18 17 19 //static char cvsid[] = "$Id$"; 18 20 … … 90 92 } 91 93 mr_asprintf(&command, 92 "md5sum \"%s%s\" > /tmp/md5sum.txt 2> /tmp/errors .txt",94 "md5sum \"%s%s\" > /tmp/md5sum.txt 2> /tmp/errors", 93 95 MNT_RESTORING, bigfile_fname); 94 96 mr_msg(2, command); 95 97 if (system(command)) { 96 98 log_OS_error("Warning - command failed"); 97 paranoid_system("cat /tmp/errors >> /tmp/mondo-restore.log 2> /dev/null"); 99 mr_asprintf(&tmp, "cat /tmp/errors >> %s 2> /dev/null", MONDO_LOGFILE); 100 paranoid_system(tmp); 101 mr_free(tmp); 98 102 mr_free(command); 99 103 mr_free(bigfile_fname);
Note:
See TracChangeset
for help on using the changeset viewer.