mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] logrotate helpers: getopts miserably explodes if 'legacy_args' is inconsistent with 'args_array' ...
This commit is contained in:
parent
ae92a0b8ea
commit
530bf04af5
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ ynh_use_logrotate() {
|
|||
set -- "${all_args[@]}"
|
||||
|
||||
# Declare an array to define the options of this helper.
|
||||
local legacy_args=lnuya
|
||||
local legacy_args=lnu
|
||||
local -A args_array=([l]=logfile= [n]=nonappend [u]=specific_user=)
|
||||
local logfile
|
||||
local nonappend
|
||||
|
|
Loading…
Add table
Reference in a new issue