summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--softhddevice.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp
index c16d2c7..1e36cc8 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -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()) {