Changeset 170


Ignore:
Timestamp:
Dec 8, 2005, 1:35:18 PM (13 years ago)
Author:
andree
Message:

Fixed issue where mondoarchive ejects CD/DVD despite writing iso images.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/mondoarchive/main.c

    r142 r170  
    529529    run_program_and_log_output("mount", 2);
    530530
    531     if (bkpinfo->please_dont_eject) {
    532         log_msg(5, "Not ejecting at end. Fair enough.");
    533     } else {
    534         log_msg(5, "Ejecting at end.");
    535         if (!find_cdrom_device(tmp, FALSE) || !find_dvd_device(tmp, FALSE)) {
    536             log_msg(1, "Ejecting %s", tmp);
    537             eject_device(tmp);
    538         }
    539     }
    540 
    541531    system("rm -f /var/cache/mondo-archive/last-backup.aborted");
    542532    system("rm -Rf /tmp.mondo.* /mondo.scratch.*");
Note: See TracChangeset for help on using the changeset viewer.