diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/utils.c b/src/utils.c index 4c65900..c9a1463 100644 --- a/src/utils.c +++ b/src/utils.c @@ -425,10 +425,8 @@ int safe_chroot(const char *newroot) } s = chroot("."); - if (s) { - E_STRERR("Change root directory to '%s'", "."); + if (s) return 1; - } s = chdir("/"); if (s) { |