added missing chroot() call
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 14 Oct 2003 01:13:50 +0000 (01:13 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 14 Oct 2003 01:13:50 +0000 (01:13 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@125 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/lib/syscall-legacy.hc

index 6bb8772..9b93fde 100644 (file)
@@ -197,6 +197,7 @@ vc_chrootsafe_legacy (const char *dir)
        init();
        if (rev_chrootsafe == -1){
                vc_tell_unsafe_chroot();
+               return chroot(dir);
        }else if (rev_chrootsafe == 0){
                return chrootsafe (dir);
        }else{