Ignore:
Timestamp:
Oct 21, 2007, 1:07:54 PM (17 years ago)
Author:
Bruno Cornec
Message:

Stil refining USB copy back to mondo (one command was not executed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mondo/src/common/libmondo-archive.c

    r1695 r1696  
    10831083                    bkpinfo->tmpdir, bkpinfo->scratchdir);
    10841084            if (system(command)) {
    1085                 fatal_error("Unable to create temporary duff tarball");
     1085                fatal_error("Unable to create temporary all tarball");
    10861086            }
    10871087        }
     
    10891089        if (bkpinfo->backup_media_type == usb) {
    10901090            sprintf(command, "rm -rf %s/images", bkpinfo->scratchdir);
    1091             system(tmp);
     1091            run_program_and_log_output(command, FALSE);
    10921092        } else {
    10931093            sprintf(command, "cp -f %s/mindi-*oot*.img %s/images",
    10941094                bkpinfo->tmpdir, bkpinfo->scratchdir);
     1095            if (system(command)) {
     1096                log_msg(2, "Unable to copy mindi images");
     1097            }
    10951098            sprintf(tmp, "cp -f %s/images/all.tar.gz %s", bkpinfo->scratchdir,
    10961099                bkpinfo->tmpdir);
Note: See TracChangeset for help on using the changeset viewer.