Commit a6f99be4 authored by Karel Zak's avatar Karel Zak

eject: use err() rather than abort()

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1645920Signed-off-by: 's avatarKarel Zak <kzak@redhat.com>
parent c094fcd3
......@@ -438,7 +438,7 @@ static void toggle_tray(int fd)
warnx(_("CD-ROM drive is not ready"));
return;
default:
abort();
err(EXIT_FAILURE, _("CD-ROM status command failed"));
}
#else
struct timeval time_start, time_stop;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment