aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index d7355ce81..952961373 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13317,7 +13317,7 @@ int ash_main(int argc UNUSED_PARAM, char **argv)
13317 } 13317 }
13318 13318
13319 if (sflag || minusc == NULL) { 13319 if (sflag || minusc == NULL) {
13320#if ENABLE_FEATURE_EDITING_SAVEHISTORY 13320#if MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY
13321 if (iflag) { 13321 if (iflag) {
13322 const char *hp = lookupvar("HISTFILE"); 13322 const char *hp = lookupvar("HISTFILE");
13323 if (hp) 13323 if (hp)