Avoided locked drive with interrupted telltoc read. (eject unlocks anyway)

This commit is contained in:
Thomas Schmitt 2007-08-22 16:40:22 +00:00
parent 6929dc443e
commit f677261e77

View File

@ -806,6 +806,9 @@ int main(int argc, char **argv)
/* Print messages of severity SORRY or more directly to stderr */ /* Print messages of severity SORRY or more directly to stderr */
burn_msgs_set_severities("NEVER", "SORRY", "telltoc : "); burn_msgs_set_severities("NEVER", "SORRY", "telltoc : ");
/* Activate the default signal handler */
burn_set_signal_handling("telltoc : ", NULL, 0);
/** Note: driveno might change its value in this call */ /** Note: driveno might change its value in this call */
ret = telltoc_aquire_drive(drive_adr, &driveno, !full_default); ret = telltoc_aquire_drive(drive_adr, &driveno, !full_default);
if (ret<=0) { if (ret<=0) {