Disabled unconditionality of eject introduced by 55 or 56

This commit is contained in:
Thomas Schmitt 2006-08-29 20:14:46 +00:00
parent 866f4bd517
commit 46cd66022c

View File

@ -3450,6 +3450,8 @@ int Cdrskin_eject(struct CdrskiN *skin, int flag)
#ifndef Cdrskin_burn_drive_eject_brokeN
if(!skin->do_eject)
return(1);
if(Cdrskin_grab_drive(skin,2)>0)
Cdrskin_release_drive(skin,1);
if(skin->verbosity>=Cdrskin_verbose_debuG)