From b851087327019174cd151ba5b8e6e98857ca2bae Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Mon, 24 Nov 2025 14:56:22 +0600 Subject: [PATCH] Fixed packages loading without root --- source/ubl-settings-kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-kernel.c b/source/ubl-settings-kernel.c index aea3bbd..3ecbc21 100644 --- a/source/ubl-settings-kernel.c +++ b/source/ubl-settings-kernel.c @@ -533,6 +533,7 @@ gboolean on_command_execute_success(GtkWidget *,gint status,main_window *widgets } else { main_config.action=ACTION_TERMINAL_EXECUTE_FAIL; yon_ubl_status_box_render(yon_char_get_localised_from_lib(FAIL_LABEL),BACKGROUND_IMAGE_FAIL_TYPE); + return 0; } gtk_widget_set_sensitive(widgets->UpdateButton,1); dictionary *dict = NULL; @@ -562,7 +563,6 @@ gboolean on_command_execute_success(GtkWidget *,gint status,main_window *widgets if (!status) gtk_button_clicked(GTK_BUTTON(widgets->MoreButton)); } - yon_launch(pacman_unlock_database_command); yon_packages_update(); return G_SOURCE_REMOVE; }