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 1cfef2787..dac73182e 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13301,7 +13301,7 @@ int ash_main(int argc UNUSED_PARAM, char **argv)
13301 } 13301 }
13302 13302
13303 if (sflag || minusc == NULL) { 13303 if (sflag || minusc == NULL) {
13304#if MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY 13304#if defined MAX_HISTORY && MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY
13305 if (iflag) { 13305 if (iflag) {
13306 const char *hp = lookupvar("HISTFILE"); 13306 const char *hp = lookupvar("HISTFILE");
13307 if (hp) 13307 if (hp)