Skip to content

Commit

Permalink
Release 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Jan 22, 2024
1 parent 3eb2d32 commit 2214001
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/shared/s2p_version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@

const int s2p_major_version = 1;
const int s2p_minor_version = 1;
const int s2p_revision = 0;
const int s2p_revision = 2;
const std::string s2p_suffix = "";
5 changes: 3 additions & 2 deletions cpp/shared_command/command_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SCSI target emulator and SCSI tools for the Raspberry Pi
//
// Copyright (C) 2021-2023 Uwe Seimet
// Copyright (C) 2021-2024 Uwe Seimet
//
//---------------------------------------------------------------------------

Expand Down Expand Up @@ -125,7 +125,8 @@ bool CommandExecutor::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 CommandExecutor::Start(PrimaryDevice &device, bool dryRun) const
Expand Down

0 comments on commit 2214001

Please sign in to comment.