Fix broken logrotate helper é_è

This commit is contained in:
Alexandre Aubin 2022-08-17 19:18:49 +02:00
parent f443631292
commit efa80304d2

View file

@ -25,7 +25,7 @@ ynh_use_logrotate() {
# So instead this loops over the positional args, and replace --non-append # So instead this loops over the positional args, and replace --non-append
# with --nonappend so it's transperent for the rest of the function... # with --nonappend so it's transperent for the rest of the function...
local all_args=( ${@} ) local all_args=( ${@} )
for I in $(seq 0 $#) for I in $(seq 0 $(($# - 1)))
do do
if [[ "${all_args[$I]}" == "--non-append" ]] if [[ "${all_args[$I]}" == "--non-append" ]]
then then