From e336257d67fb7a4ad95b189ef94de8225e680bf9 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 28 Oct 2025 11:27:54 +0600 Subject: [PATCH] Warning fix --- source/libublsettingsui-gtk3-save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libublsettingsui-gtk3-save.c b/source/libublsettingsui-gtk3-save.c index 6968f1c..22e5f37 100644 --- a/source/libublsettingsui-gtk3-save.c +++ b/source/libublsettingsui-gtk3-save.c @@ -538,7 +538,7 @@ char *yon_custom_config_init(GtkFileChooserAction type){ char *command_creation = ubconfig_file_create(file); struct passwd *user = getpwnam(yon_ubl_root_user_get()); int a = system(command_creation); - chown(file,user->pw_uid,user->pw_gid); + if (chown(file,user->pw_uid,user->pw_gid)){}; free(command_creation); if (access(file,0)!=F_OK){ yon_ubl_status_box_render(CUSTOM_CONFIG_CREATION_ERROR_LABEL,BACKGROUND_IMAGE_FAIL_TYPE);