ash: randmconfig fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
cd71683ae6
commit
0337e038a9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user