summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-28 23:12:30 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2009-11-28 23:12:30 (GMT)
commit0337e038a9354706f4bcfd9954c0219b0b8faba0 (patch)
tree1188490aebb13cddd8ea0dfd7e156e612251f76c
parentcd71683ae6a98962f87a7ffb4f8cd3fc13e576dc (diff)
downloadbusybox-0337e038a9354706f4bcfd9954c0219b0b8faba0.tar.gz
busybox-0337e038a9354706f4bcfd9954c0219b0b8faba0.tar.bz2
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)