Warning fix

pull/59/head
parent 2c2a395e42
commit e336257d67
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -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);

Loading…
Cancel
Save