mirror of https://github.com/akuker/RASCSI.git
Fix error handling when target ID for INQUIRY is missing
This commit is contained in:
parent
5465cfc350
commit
464e20413a
|
@ -153,7 +153,7 @@ void ScsiDump::ParseArguments(span<char *> args)
|
|||
throw parser_exception("Missing filename");
|
||||
}
|
||||
|
||||
if (!scan_bus && !inquiry && target_id == -1) {
|
||||
if (!scan_bus && target_id == -1) {
|
||||
throw parser_exception("Missing target ID");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue