[BUG] config: fix endless loop when parsing "on-error"

An arg index increment was missing causing the same arg to be parsed
in an endless loop. Proabably a merge conflict that remained undetected.
1 file changed