|
|
|
@ -223,6 +223,7 @@ if (main_config.sync_users){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void yon_accept_changes(){
|
|
|
|
void yon_accept_changes(){
|
|
|
|
|
|
|
|
if (main_config.homes_size&&main_config.remove_homes){
|
|
|
|
char *remove_homes = "";
|
|
|
|
char *remove_homes = "";
|
|
|
|
for (int i=0;i<main_config.homes_size;i++){
|
|
|
|
for (int i=0;i<main_config.homes_size;i++){
|
|
|
|
remove_homes = yon_char_unite(remove_homes,yon_char_is_empty(remove_homes)?"":",",main_config.remove_homes[i],NULL);
|
|
|
|
remove_homes = yon_char_unite(remove_homes,yon_char_is_empty(remove_homes)?"":",",main_config.remove_homes[i],NULL);
|
|
|
|
@ -230,6 +231,9 @@ void yon_accept_changes(){
|
|
|
|
if (!yon_char_is_empty(remove_homes)){
|
|
|
|
if (!yon_char_is_empty(remove_homes)){
|
|
|
|
if (system(remove_home_dirs_command(remove_homes))){};
|
|
|
|
if (system(remove_home_dirs_command(remove_homes))){};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
main_config.remove_homes=NULL;
|
|
|
|
|
|
|
|
main_config.homes_size=0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void yon_hide_passwords(template_saving_window *window){
|
|
|
|
void yon_hide_passwords(template_saving_window *window){
|
|
|
|
|