pull/57/head
parent 733a56b797
commit 9e0b1116ef
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -529,8 +529,8 @@ char *yon_custom_config_init(GtkFileChooserAction type){
if (access(file,0)!=F_OK){
char *command_creation = ubconfig_file_create(file);
struct passwd *user = getpwnam(yon_ubl_root_user_get());
chown(file,user->pw_uid,user->pw_gid);
int a = system(command_creation);
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