Fixed save command path changing

pull/59/head
parent 963eca8e8e
commit 43c3e737d1
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -1267,7 +1267,7 @@ char *yon_config_parameter_prepare_command(char *command, char *path, char *sect
source_pos = yon_char_parsed_check_exist(parsed,size,"--target");
get_pos = yon_char_parsed_check_exist(parsed,size,"set");
}
if (!yon_char_is_empty(path)){
if (yon_char_is_empty(path)){
if (source_pos>-1&&size>source_pos+1){
free(parsed[source_pos]);
parsed[source_pos]=yon_char_new("");

Loading…
Cancel
Save