Changeset 1322 in MondoRescue for branches/2.2.2


Ignore:
Timestamp:
Apr 16, 2007, 9:39:06 PM (17 years ago)
Author:
Bruno Cornec
Message:

Idem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.2/mondo/src/mondorestore/mondo-rstr-tools.c

    r1316 r1322  
    22482248    paranoid_system("sync");
    22492249
    2250     if (run_program_and_log_output
    2251         ("cp -f " MONDO_LOGFILE " " MNT_RESTORING "/var/log", FALSE)) {
     2250    sprintf(tmp, "cp -f %s " MNT_RESTORING "/var/log", MONDO_LOGFILE);
     2251    if (run_program_and_log_output(tmp, FALSE)) {
    22522252        log_msg(1,
    22532253                "Error. Failed to copy log to PC's /var/log dir. (Mounted read-only?)");
Note: See TracChangeset for help on using the changeset viewer.