Ignore:
Timestamp:
Apr 16, 2007, 7:24:58 PM (17 years ago)
Author:
Bruno Cornec
Message:

Other syntax fixes dur to change of meaning of MONDO_LOGFILE

File:
1 edited

Legend:

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

    r1316 r1320  
    410410    }
    411411    sprintf(command,
    412             "for i in `%s | cut -d\"'\" -f2 | sort -r` ; do echo \"Shutting down lv $i\" >> "
    413             MONDO_LOGFILE "; %s -f $i; done", lvscan_sz, lvremove_sz);
     412            "for i in `%s | cut -d\"'\" -f2 | sort -r` ; do echo \"Shutting down lv $i\" >> %s ; %s -f $i; done", lvscan_sz, MONDO_LOGFILE, lvremove_sz);
    414413    run_program_and_log_output(command, 5);
    415414    sleep(1);
    416415    sprintf(command,
    417             "for i in `%s | grep -i lvm | cut -d'\"' -f2` ; do %s -a n $i ; %s $i; echo \"Shutting down vg $i\" >> "
    418             MONDO_LOGFILE "; done", vgscan_sz, vgchange_sz, vgremove_sz);
     416            "for i in `%s | grep -i lvm | cut -d'\"' -f2` ; do %s -a n $i ; %s $i; echo \"Shutting down vg $i\" >> %s ; done", vgscan_sz, vgchange_sz, vgremove_sz, MONDO_LOGFILE);
    419417    run_program_and_log_output(command, 5);
    420418    if (just_erase_existing_volumes) {
Note: See TracChangeset for help on using the changeset viewer.