hush: fix prompt in multi-line $(())
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 7 Apr 2018 15:01:31 +0000 (17:01 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 7 Apr 2018 15:01:31 +0000 (17:01 +0200)
commit8d6eab3225330fddf0c32ae10f1eb87803c5c325
treed545d7f06c24939dba68e11441bafddb7f3f1fcd
parent17058a06c4333fc0c492c168c8a971ebd0fd5a5a
hush: fix prompt in multi-line $(())

Now shows PS2 in this case:

/path/to/dir $ a=b; echo $((
> _

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