mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix attach.
This commit is contained in:
parent
fd0ae12f24
commit
995f1286bd
@ -1711,10 +1711,7 @@ cString cPluginSoftHdDevice::SVDRPCommand(const char *command,
|
||||
return "SoftHdDevice is detached";
|
||||
}
|
||||
if (!strcasecmp(command, "ATTA")) {
|
||||
if (SuspendMode) {
|
||||
if (SuspendMode != SUSPEND_DETACHED) {
|
||||
return "SoftHdDevice already detached";
|
||||
}
|
||||
if (SuspendMode != SUSPEND_DETACHED) {
|
||||
return "can't attach SoftHdDevice not detached";
|
||||
}
|
||||
if (ShutdownHandler.GetUserInactiveTime()) {
|
||||
|
Loading…
Reference in New Issue
Block a user