From: Vincent Pit Date: Thu, 11 Dec 2008 16:50:01 +0000 (+0100) Subject: chdir(), not chroot() X-Git-Tag: v0.06~9 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=bf474959f3dd2c2dd3ed602b4af1f8a7ac5c1cbf;p=perl%2Fmodules%2Frgit.git chdir(), not chroot() --- diff --git a/bin/rgit b/bin/rgit index 6387293..7124217 100755 --- a/bin/rgit +++ b/bin/rgit @@ -114,7 +114,7 @@ sub policy_interactive { my $cwd = cwd; $repo->chdir; system { $shell } $shell; - chroot $cwd; + chdir $cwd; } else { $conf->err("Couldn't find any shell\n"); }