mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Config param should be global
This commit is contained in:
parent
eae826b2a6
commit
ff69067d9c
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ _ynh_app_config_validate() {
|
|||
if [ -z ${!short_setting+x} ]; then
|
||||
# Assign the var with the old value in order to allows multiple
|
||||
# args validation
|
||||
declare "$short_setting"="${old[$short_setting]}"
|
||||
declare -g "$short_setting"="${old[$short_setting]}"
|
||||
continue
|
||||
fi
|
||||
if [ ! -z "${file_hash[${short_setting}]}" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue