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

allow regular user to ask for a boot inside a container

parent f586cdb7
No related branches found
No related tags found
No related merge requests found
......@@ -669,7 +669,7 @@ int main(int argc, char const *const *argv, char const *const *envp)
remove = 1 ;
}
if (BOOT && OWNER)
if (BOOT && OWNER && !CONTAINER)
log_die(LOG_EXIT_USER,"-b options can be set only with root") ;
OWNERSTR[uid_fmt(OWNERSTR,OWNER)] = 0 ;
......
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