Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > 375b36fbd203bae38259cbba1e1d9c0c > files > 1

mc-4.8.20-1.mga6.src.rpm

--- a/src/subshell/common.c	2016-03-12 16:45:48.000000000 +0100
+++ b/src/subshell/common.c	2016-03-13 14:51:36.938909577 +0100
@@ -355,7 +355,8 @@
     switch (mc_global.shell->type)
     {
     case SHELL_BASH:
-        execl (mc_global.shell->path, "bash", "-rcfile", init_file, (char *) NULL);
+        /* Bug 1304 set HISTCONTROL=ignoreboth  */
+        execl (mc_global.shell->path, "bash", "-rcfile", "/etc/mc/mc-bashrc", (char *) NULL);
         break;
 
     case SHELL_ZSH: