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 2904a1bee7
commit f37e109aa1
1 changed files with 3 additions and 0 deletions

View File

@ -806,6 +806,9 @@ int main(int argc, char **argv)
/* Print messages of severity SORRY or more directly to stderr */
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 */
ret = telltoc_aquire_drive(drive_adr, &driveno, !full_default);
if (ret<=0) {