From: Daniel Hokka Zakrisson Date: Thu, 17 Mar 2011 14:26:07 +0000 (+0100) Subject: Need another approach for this X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?p=util-vserver.git;a=commitdiff_plain;h=38c8dfe96049ba7e5af1e909e9e9cefe4b66369d Need another approach for this --- diff --git a/src/vcontext.c b/src/vcontext.c index 1e23637..3099741 100644 --- a/src/vcontext.c +++ b/src/vcontext.c @@ -369,9 +369,6 @@ doit(struct Arguments const *args, int argc, char *argv[]) doSyncStage1(p, args->do_disconnect); DPRINTF("doit: pid=%u, ppid=%u\n", getpid(), getppid()); - if (args->do_migrateself) - setsid(); - if (!args->do_vlogin) execvp (argv[optind],argv+optind); else