summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2009-11-29 00:12:30 +0100
committerDenys Vlasenko2009-11-29 00:12:30 +0100
commit0337e038a9354706f4bcfd9954c0219b0b8faba0 (patch)
tree1188490aebb13cddd8ea0dfd7e156e612251f76c
parentcd71683ae6a98962f87a7ffb4f8cd3fc13e576dc (diff)
downloadbusybox-0337e038a9354706f4bcfd9954c0219b0b8faba0.zip
busybox-0337e038a9354706f4bcfd9954c0219b0b8faba0.tar.gz
ash: randmconfig fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 1cfef27..dac7318 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13301,7 +13301,7 @@ int ash_main(int argc UNUSED_PARAM, char **argv)
}
if (sflag || minusc == NULL) {
-#if MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY
+#if defined MAX_HISTORY && MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY
if (iflag) {
const char *hp = lookupvar("HISTFILE");
if (hp)