From 10f0c161a370120fab39d281addf387bbd67295e Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 28 Nov 2024 17:31:33 +0600 Subject: [PATCH] Fixed crash --- source/ubinstall-gtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index 15e32d9..13eca77 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -434,7 +434,7 @@ void yon_interface_update(main_window *widgets){ config_str default_password = NULL; if (!getuid()){ 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'); } }