|
|
|
@ -434,7 +434,7 @@ void yon_interface_update(main_window *widgets){
|
|
|
|
config_str default_password = NULL;
|
|
|
|
config_str default_password = NULL;
|
|
|
|
if (!getuid()){
|
|
|
|
if (!getuid()){
|
|
|
|
default_password = yon_config_load(yon_debug_output("%s\n",get_default_password_command), &def_size);
|
|
|
|
default_password = yon_config_load(yon_debug_output("%s\n",get_default_password_command), &def_size);
|
|
|
|
if (def_size>0&&default_passwrod){
|
|
|
|
if (def_size>0&&default_password){
|
|
|
|
yon_char_remove_last_symbol(default_password[0],'\n');
|
|
|
|
yon_char_remove_last_symbol(default_password[0],'\n');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|