mirror of
https://github.com/jorisvink/kore
synced 2025-03-10 13:09:02 -04:00
small style fix.
This commit is contained in:
parent
cdefb66ed8
commit
ff2574899d
@ -200,8 +200,11 @@ kore_worker_entry(struct kore_worker *kw)
|
||||
}
|
||||
|
||||
if (skip_chroot == 0) {
|
||||
if (chroot(chroot_path) == -1)
|
||||
fatal("cannot chroot(\"%s\"): %s", chroot_path, errno_s);
|
||||
if (chroot(chroot_path) == -1) {
|
||||
fatal("cannot chroot(\"%s\"): %s",
|
||||
chroot_path, errno_s);
|
||||
}
|
||||
|
||||
if (chdir("/") == -1)
|
||||
fatal("cannot chdir(\"/\"): %s", errno_s);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user