diff --git a/source/ubl-settings-resourcequota.c b/source/ubl-settings-resourcequota.c index af561ec..ecd845b 100644 --- a/source/ubl-settings-resourcequota.c +++ b/source/ubl-settings-resourcequota.c @@ -290,6 +290,7 @@ void template_cfg(char* cmd, dictionary* load_cfg) { clear_array(); int size = 0; char** cfg = yon_config_load(cmd, &size); + philos_array_string_remove_char(&cfg, "\n", size); for (int index = 0; index < size; index++) { char* str_key_value = yon_char_new(cfg[index]); char* str_key = yon_char_divide_search(str_key_value, "=",-1);