aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index fd616ef4a..ee3bfb42f 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -11914,6 +11914,7 @@ exitshell(void)
11914 evalstring(p); 11914 evalstring(p);
11915 } 11915 }
11916 flushall(); 11916 flushall();
11917 setjobctl(0);
11917#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY 11918#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
11918 if (iflag && rootshell) { 11919 if (iflag && rootshell) {
11919 const char *hp = lookupvar("HISTFILE"); 11920 const char *hp = lookupvar("HISTFILE");