Changeset 2463 in MondoRescue for branches/2.2.9


Ignore:
Timestamp:
Oct 26, 2009, 1:34:16 AM (14 years ago)
Author:
Bruno Cornec
Message:
  • Reset an error counter before blanking a DVD to avoid always returning an error (Vincent Raman vincent.raman_at_macqel.eu)
File:
1 edited

Legend:

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

    r2454 r2463  
    17701770                    ("Failed to write to disk. I shall blank it and then try again.");
    17711771                sleep(5);
     1772                /* reset error counter before trying to blank DVD */
     1773                retval -= res;
    17721774                (void)system("sync");
    17731775                pause_for_N_seconds(5, "Letting DVD drive settle");
Note: See TracChangeset for help on using the changeset viewer.