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 7e4191364a
commit 432484f46b

View File

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