Avoiding START UNIT before the drive gets released
This commit is contained in:
parent
85d8c13d35
commit
277255953f
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2009.11.08.121334"
|
#define Cdrskin_timestamP "2009.11.10.132154"
|
||||||
|
@ -244,7 +244,8 @@ int mmc_function_spy(struct burn_drive *d, char * text)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (d->is_stopped && strcmp(text, "stop_unit") != 0 &&
|
if (d->is_stopped && strcmp(text, "stop_unit") != 0 &&
|
||||||
strcmp(text, "start_unit") != 0) {
|
strcmp(text, "start_unit") != 0 &&
|
||||||
|
strncmp(text, "sg_", 3) != 0) {
|
||||||
d->start_unit(d);
|
d->start_unit(d);
|
||||||
d->is_stopped = 0;
|
d->is_stopped = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user