Skip to content
Snippets Groups Projects
Commit f53257c6 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

Fix the assignment of UID and GID

parent 370cf62d
No related branches found
No related tags found
No related merge requests found
......@@ -60,8 +60,11 @@ int write_execute_scripts(char const *file, char const *contents, char const *ds
if (colon) {
uid = file ;
gid = colon + 1 ;
if (!uid0_scan(file, &uid))
log_warnu_return(LOG_EXIT_ZERO,"get uid of: ", runas) ;
if (!gid0_scan(colon + 1, &gid))
log_warnu_return(LOG_EXIT_ZERO,"get gid of: ", runas) ;
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment