From 0c60dfdff2b4db91df7086886c3a36e786e63a2a Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Mon, 7 Apr 2025 17:46:31 +0600 Subject: [PATCH] Fixed su saving --- source/ubl-settings-logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-logging.c b/source/ubl-settings-logging.c index 2cd3deb..35a89bd 100644 --- a/source/ubl-settings-logging.c +++ b/source/ubl-settings-logging.c @@ -1112,7 +1112,7 @@ void on_logrotate_save(GtkWidget *, dictionary *dict){ if (gtk_combo_box_get_active(GTK_COMBO_BOX(window->RotationAtGroupCombo))==0) group_rotate = "root"; su = yon_char_unite("su ",user_rotate," ",group_rotate,NULL); } - } + } else su =""; int error_processing = gtk_combo_box_get_active(GTK_COMBO_BOX(window->ErrorProcessingCombo)); if (error_processing==0|| error_processing==1) {