Fixed crash

pull/66/head
parent 7d2cbfbd2c
commit 47757ca42b
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -85,7 +85,7 @@ int yon_file_create_full_path(char *path, mode_t rules){
struct passwd *user = getpwnam(yon_ubl_root_user_get()); struct passwd *user = getpwnam(yon_ubl_root_user_get());
} else { } else {
FILE *fl = fopen(temp,"w"); FILE *fl = fopen(temp,"w");
if (!fl) return; if (!fl) return 0;
fclose(fl); fclose(fl);
} }

Loading…
Cancel
Save