diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-29 00:12:30 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-29 00:12:30 +0100 |
commit | 0337e038a9354706f4bcfd9954c0219b0b8faba0 (patch) | |
tree | 1188490aebb13cddd8ea0dfd7e156e612251f76c /shell | |
parent | cd71683ae6a98962f87a7ffb4f8cd3fc13e576dc (diff) | |
download | busybox-0337e038a9354706f4bcfd9954c0219b0b8faba0.tar.gz |
ash: randmconfig fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 |
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) } 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) |