diff --git a/scripts/config b/scripts/config index d805ebe..f06fd4b 100644 --- a/scripts/config +++ b/scripts/config @@ -32,7 +32,7 @@ is_public=$(ynh_app_setting_get --app $app --key is_public) show_config() { # here you are supposed to read some config file/database/other then print the values # echo "YNH_CONFIG_${PANEL_ID}_${SECTION_ID}_${OPTION_ID}=value" - echo "YNH_CONFIG_SYNAPSE_CONFIG_SERVER_CONFIG_SERVER_STATISTICS=$report_stats" >> $YNH_STDRETURN + ynh_return "YNH_CONFIG_SYNAPSE_CONFIG_SERVER_CONFIG_SERVER_STATISTICS=$report_stats" echo "YNH_CONFIG_SYNAPSE_CONFIG_SERVER_CONFIG_ALLOW_PUBLIC_ROOMS=$allow_public_rooms" >> $YNH_STDRETURN if [[ ${backup_before_upgrade:-0} -eq 1 ]]