]> git.vpit.fr Git - perl/modules/rgit.git/commitdiff
chdir(), not chroot()
authorVincent Pit <vince@profvince.com>
Thu, 11 Dec 2008 16:50:01 +0000 (17:50 +0100)
committerVincent Pit <vince@profvince.com>
Thu, 11 Dec 2008 16:50:01 +0000 (17:50 +0100)
bin/rgit

index 6387293b5fe467756822f91fc1e197513577c37e..7124217c474b6e68b2f55e2770bc33bcab76053c 100755 (executable)
--- 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");
    }