From f37e109aa15e61be9f8fcf86880923f585c1a44f Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 22 Aug 2007 16:40:22 +0000 Subject: [PATCH] Avoided locked drive with interrupted telltoc read. (eject unlocks anyway) --- test/telltoc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/telltoc.c b/test/telltoc.c index 08a2a7e..f9c7937 100644 --- a/test/telltoc.c +++ b/test/telltoc.c @@ -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) {