mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-17 03:31:05 +00:00
Fix remote interface communication issue (broken pipe) (#1415)
This commit is contained in:
parent
f935556887
commit
7a986c84aa
@ -126,7 +126,8 @@ bool PiscsiExecutor::ProcessCmd(const CommandContext& context)
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user