28.11.2025 16:25, [email protected] пишет: > The next tests passes an option to rcctl, doesn't matter > if it's -q or -f or -f -q, OPTIND is greater than 1 and > the while loop contents never run to set _config.
Thanks, now I understand: unbound's OPTIND needs resetting to not be influenced by rcctl's getopts usage! Makes sense in hindsight as that's a global variable, but first I thought unbound's rc_*() somehow trouble each other. Committed, thanks.
