]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - bin/rgit
Win32 does not implement all POSIX W* macros, so override them with stubs if they...
[perl/modules/rgit.git] / 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");
    }