Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG/MINOR: cfgparse-global: fix allowed args number for setenv
Keywords setenv and presetenv take 2 arguments: variable name and value. So, the total number, that should be passed to alertif_too_many_args is 2 ("setenv <name> <value>") instead of 3. For alertif_too_many_args the first argument index is 0. This should be backported in all stable versions. (cherry picked from commit df68f7e) Signed-off-by: Christopher Faulet <[email protected]> (cherry picked from commit d53d6fb) Signed-off-by: Christopher Faulet <[email protected]> (cherry picked from commit 60ba2dc) Signed-off-by: Christopher Faulet <[email protected]>
- Loading branch information