X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvcontext.c;h=3099741619d6c02c4b7768e373b536736e65216f;hb=35370e2d11f661d780b71204d61439e31b91fb57;hp=57a45fe06fc7e1f7b51672fa2eccbdd5f2a08134;hpb=2fbc46a92318904f1414f1aeaf256970e80e845a;p=util-vserver.git diff --git a/src/vcontext.c b/src/vcontext.c index 57a45fe..3099741 100644 --- a/src/vcontext.c +++ b/src/vcontext.c @@ -21,6 +21,7 @@ #endif #include "util.h" +#include "compat-pivot_root.h" #include "lib/internal.h" #include "lib_internal/jail.h" #include "lib_internal/sys_personality.h" @@ -367,6 +368,7 @@ doit(struct Arguments const *args, int argc, char *argv[]) doExternalSync(ext_sync_fd, args->sync_msg); doSyncStage1(p, args->do_disconnect); DPRINTF("doit: pid=%u, ppid=%u\n", getpid(), getppid()); + if (!args->do_vlogin) execvp (argv[optind],argv+optind); else