Added debug outputs

pull/19/head
parent 48eb689e91
commit 08b3a72cbb

@ -1372,6 +1372,7 @@ int yon_config_save_registered(char *path){
for_dictionaries(dct,sections_add){
char *command = yon_dictionary_get_data(dct,char*);
yon_launch(command);
if (debug_output)
printf("%s\n",command);
}
yon_dictionary_free_all(sections_add,free);
@ -1379,6 +1380,7 @@ int yon_config_save_registered(char *path){
for_dictionaries(dct,sections_remove){
char *command = yon_dictionary_get_data(dct,char*);
yon_launch(command);
if (debug_output)
printf("%s\n",command);
}
yon_dictionary_free_all(sections_remove,free);

Loading…
Cancel
Save