Made -toc on blank CD exit with value 0 (rather than 7 with no media)

This commit is contained in:
Thomas Schmitt 2006-11-12 18:51:59 +00:00
parent 5a0b597e3f
commit 7458223cc0
2 changed files with 2 additions and 2 deletions

View File

@ -3740,7 +3740,7 @@ int Cdrskin_atip(struct CdrskiN *skin, int flag)
printf(" 1T speed low: %.f 1T speed high: %.f\n",x_speed_min,x_speed_max); printf(" 1T speed low: %.f 1T speed high: %.f\n",x_speed_min,x_speed_max);
ret= 1; ret= 1;
if(flag&1) if(flag&1)
ret= Cdrskin_toc(skin,1); Cdrskin_toc(skin,1);/*cdrecord seems to ignore -toc errors if -atip is ok */
ex:; ex:;
Cdrskin_release_drive(skin,0); Cdrskin_release_drive(skin,0);
return(ret); return(ret);

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2006.11.12.152723" #define Cdrskin_timestamP "2006.11.12.185342"