Changeset 3719


Ignore:
Timestamp:
Aug 18, 2019, 4:57:22 PM (5 weeks ago)
Author:
bruno
Message:

Avoid cerating /mnt/cdrom if it exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/libmondo-devices.c

    r3654 r3719  
    14811481        return;
    14821482    }
    1483     mr_asprintf(tmp, "mkdir -p " MNT_CDROM);
    1484     run_program_and_log_output(tmp, 5);
    1485     mr_free(tmp);
     1483    if (!does_file_exist(MNT_CDROM)) {
     1484        mr_asprintf(tmp, "mkdir -p " MNT_CDROM);
     1485        run_program_and_log_output(tmp, 5);
     1486        mr_free(tmp);
     1487    }
    14861488
    14871489    if (g_ISO_restore_mode || bkpinfo->backup_media_type == iso || bkpinfo->backup_media_type == netfs) {
Note: See TracChangeset for help on using the changeset viewer.