pull/24/head
Igor Belitskiy 2 years ago
parent 09ca7df08c
commit 141cb19a86

@ -335,7 +335,7 @@ char* format_str_del_config(config_u_g_p* _config) {
char* actors = yon_char_new("");
char* cmd = NULL;
char* unix_file = NULL;
if (strstr(_config->UNIX_file, " ")) {
if (strstr(_config->UNIX_file, " ") && !strstr(_config->UNIX_file, "\"")) {
unix_file = yon_char_unite("\"", _config->UNIX_file, "\"", NULL);
}
else {

@ -203,7 +203,7 @@ char* save_format_key(config_u_g_p* config, int index) {
int number = config->id;
key = yon_char_unite("DISK_QUOTA[", config->type_arr, ":", NULL);
char* unix_file = NULL;
if (strstr(config->UNIX_file, " ")) {
if (strstr(config->UNIX_file, " ") && !strstr(config->UNIX_file, "\"") ) {
unix_file = yon_char_unite("\"", config->UNIX_file, "\"", NULL);
}
else {

Loading…
Cancel
Save