Skip to content

Fix repotool mirror code with a single mirror argument.

The condition on the args array length is incorrect, yielding an error

panic: runtime error: index out of range [1] with length 1

(as index 1 refers to the second element) when only 1 mirror argument is provided (the directory of the local mirror).

Merge request reports