hush: allocate line edit buffer only for interactive shell
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 19 May 2019 16:24:52 +0000 (18:24 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 19 May 2019 16:24:52 +0000 (18:24 +0200)
commit76a4e8361a84efca256d4286cf36561c42c14d64
tree9c3b9f82e5d86a08d646d554d3d3800bd1404d79
parent9edd268bad93128bcadfbdde28bb978a4b4c5bab
hush: allocate line edit buffer only for interactive shell

function                                             old     new   delta
builtin_history                                       16      20      +4

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c