aboutsummaryrefslogtreecommitdiff
path: root/src/jail.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2018-05-14 17:32:14 +0200
committerToni Uhlig <matzeton@googlemail.com>2018-05-14 17:32:14 +0200
commit46f23ddc315d71b67c998631f1f86e39da21bd51 (patch)
tree5f2e22a216ec47972d62c05d44a4fca6a5e0e4ee /src/jail.c
parentb02a48ca725ea99950d7af2f9c152c3bafacebe8 (diff)
POTD skeleton #52.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/jail.c')
-rw-r--r--src/jail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jail.c b/src/jail.c
index 6e14b7a..13040ec 100644
--- a/src/jail.c
+++ b/src/jail.c
@@ -134,11 +134,11 @@ pid_t jail_daemonize(event_ctx **ev_ctx, jail_ctx *ctx[], size_t siz)
p = fork();
switch (p) {
case -1:
- W_STRERR("%s", "Jail daemonize");
+ E_STRERR("%s", "Jail daemonize");
return -1;
case 0:
- N("Jail daemon child pid %d", getpid());
jail_mainloop(ev_ctx, (const jail_ctx **) ctx, siz);
+ break;
}
D2("Jail daemon pid: %d", p);