Skip to content

Commit

Permalink
fix mirror range_arg check
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Aug 22, 2023
1 parent 0b488f5 commit 90a9ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/bin/dist-installer-cli
Expand Up @@ -3221,7 +3221,7 @@ parse_opt(){
if test "${guest}" != "whonix" && test -n "${import_only}"; then
die 1 "The option import_only can only be set when the guest is whonix."
fi
test -n "${mirror}" && range_arg mirror 0 1 2 3 4 5
test -n "${mirror}" && range_arg mirror 0 1 2

test -n "${socks_proxy}" && is_addr_port "${socks_proxy}"

Expand Down

0 comments on commit 90a9ce0

Please sign in to comment.