From: Joey Hess Date: Fri, 25 Sep 2009 01:52:51 +0000 (-0400) Subject: Make mr -i pass -i to the shell, to insure it knows it should be an interactive shell. X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/66dc478e14c66b2865b39dc41dabd3a05de87656?ds=sidebyside;hp=--cc Make mr -i pass -i to the shell, to insure it knows it should be an interactive shell. --- 66dc478e14c66b2865b39dc41dabd3a05de87656 diff --git a/debian/changelog b/debian/changelog index 8b20025..b2a85ae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mr (0.44) UNRELEASED; urgency=low + + * Make mr -i pass -i to the shell, to insure it knows it should be an + interactive shell. + + -- Joey Hess Thu, 24 Sep 2009 21:52:27 -0400 + mr (0.43) unstable; urgency=low * Set User-Agent to "mr" when downloading the mrconfig file diff --git a/mr b/mr index 8de26f8..eb766d4 100755 --- a/mr +++ b/mr @@ -713,7 +713,7 @@ sub record { if ($interactive) { chdir($dir) unless $no_chdir; print STDERR "mr: Starting interactive shell. Exit shell to continue.\n"; - system((getpwuid($<))[8]); + system((getpwuid($<))[8], "-i"); } push @failed, $dir; print "\n";