Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > dba50d9e307494e9953620ffc5c47f0c > files > 4

mc-4.8.13-4.mga5.src.rpm

--- src/subshell.c	2013-03-07 10:45:57.000000000 +0000
+++ src/subshell.c	2013-06-13 14:44:06.000000000 +0100
@@ -330,7 +330,8 @@
     switch (subshell_type)
     {
     case BASH:
-        execl (mc_global.tty.shell, "bash", "-rcfile", init_file, (char *) NULL);
+        /* Bug 1304 set HISTCONTROL=ignoreboth  */
+        execl (mc_global.tty.shell, "bash", "-rcfile", "/etc/mc/mc-bashrc", (char *) NULL);
         break;
 
     case TCSH: