nsjail.c: LOG_F -> LOG_W for disable_clone_newuser
This commit is contained in:
parent
b3546b1a3e
commit
9be5520fec
@ -26,7 +26,7 @@
|
||||
|
||||
#include "common.h"
|
||||
|
||||
bool containSetupFD(struct nsjconf_t *nsjconf, int fd_in, int fd_out, int fd_err);
|
||||
bool containSetupFD(struct nsjconf_t * nsjconf, int fd_in, int fd_out, int fd_err);
|
||||
bool containContain(struct nsjconf_t *nsjconf);
|
||||
|
||||
#endif /* NS_CONTAIN_H */
|
||||
|
2
nsjail.c
2
nsjail.c
@ -172,7 +172,7 @@ int main(int argc, char *argv[])
|
||||
LOG_F("Couldn't parse cmdline options");
|
||||
}
|
||||
if (nsjconf.clone_newuser == false && geteuid() != 0) {
|
||||
LOG_F("--disable_clone_newuser requires root() privs");
|
||||
LOG_W("--disable_clone_newuser might require root() privs");
|
||||
}
|
||||
if (nsjconf.daemonize && (daemon(0, 0) == -1)) {
|
||||
PLOG_F("daemon");
|
||||
|
Loading…
Reference in New Issue
Block a user