Commit c580b8d2 by Stéphane Graber

rundir: Fix crash with privileged containers

parent a8916143
......@@ -382,7 +382,7 @@ char *get_rundir()
const char *homedir;
if (geteuid() == 0) {
rundir = RUNTIME_PATH;
rundir = strdup(RUNTIME_PATH);
return rundir;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment