diff --git a/internal/config/config.go b/internal/config/config.go index 932e316a0..8765f69fe 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -836,10 +836,6 @@ func GetSubSys(s string) (subSys string, inputs []string, tgt string, e error) { return subSys, inputs, tgt, Errorf("unknown sub-system %s", s) } - if len(inputs) == 1 { - return subSys, inputs, tgt, nil - } - if SubSystemsSingleTargets.Contains(subSystemValue[0]) && len(subSystemValue) == 2 { return subSys, inputs, tgt, Errorf("sub-system '%s' only supports single target", subSystemValue[0]) }