mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-10 02:29:33 +00:00
Fix remote interface communication issue (broken pipe) (#1415)
This commit is contained in:
parent
f935556887
commit
e4fccdcd88
|
@ -126,7 +126,8 @@ bool PiscsiExecutor::ProcessCmd(const CommandContext& context)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return context.ReturnSuccessStatus();
|
// ATTACH and DETACH are special cases because they return the current device list
|
||||||
|
return command.operation() == ATTACH || command.operation() == DETACH ? true : context.ReturnSuccessStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PiscsiExecutor::Start(PrimaryDevice& device, bool dryRun) const
|
bool PiscsiExecutor::Start(PrimaryDevice& device, bool dryRun) const
|
||||||
|
|
Loading…
Reference in New Issue
Block a user