Fix attach.

This commit is contained in:
Johns 2012-03-02 00:38:52 +01:00
parent fd0ae12f24
commit 995f1286bd

View File

@ -1711,10 +1711,7 @@ cString cPluginSoftHdDevice::SVDRPCommand(const char *command,
return "SoftHdDevice is detached"; return "SoftHdDevice is detached";
} }
if (!strcasecmp(command, "ATTA")) { if (!strcasecmp(command, "ATTA")) {
if (SuspendMode) {
if (SuspendMode != SUSPEND_DETACHED) { if (SuspendMode != SUSPEND_DETACHED) {
return "SoftHdDevice already detached";
}
return "can't attach SoftHdDevice not detached"; return "can't attach SoftHdDevice not detached";
} }
if (ShutdownHandler.GetUserInactiveTime()) { if (ShutdownHandler.GetUserInactiveTime()) {