Added error message in case of failed eject
This commit is contained in:
parent
101c06d4b4
commit
a52eb43dc6
@ -3669,10 +3669,15 @@ int Cdrskin_eject(struct CdrskiN *skin, int flag)
|
|||||||
|
|
||||||
if(!skin->do_eject)
|
if(!skin->do_eject)
|
||||||
return(1);
|
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)
|
||||||
ClN(fprintf(stderr,"cdrskin_debug: supposing drive eject to have worked\n"));
|
ClN(fprintf(stderr,
|
||||||
|
"cdrskin_debug: supposing drive eject to have worked\n"));
|
||||||
|
} else {
|
||||||
|
fprintf(stderr,"cdrskin: SORRY : Failed to finally eject tray.\n");
|
||||||
|
return(0);
|
||||||
|
}
|
||||||
return(1);
|
return(1);
|
||||||
|
|
||||||
#else /* Cdrskin_burn_drive_eject_brokeN */
|
#else /* Cdrskin_burn_drive_eject_brokeN */
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2006.09.19.124540"
|
#define Cdrskin_timestamP "2006.09.19.140716"
|
||||||
|
Loading…
Reference in New Issue
Block a user