ash,hush: show 'c' in $- if run in "sh -c CMD"
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Jun 2019 10:21:04 +0000 (12:21 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Jun 2019 10:21:04 +0000 (12:21 +0200)
commitf3634584d0fdeb4ae9e2fe0f5971d45b77e40296
tree28a97129b30b28106b4f9fae7ddfbc5be12ba0f6
parent897475ab023040efed9f199af5daffe43451c1d2
ash,hush: show 'c' in $- if run in "sh -c CMD"

function                                             old     new   delta
options                                              552     599     +47
expand_one_var                                      2375    2385     +10
optletters_optnames                                   60      64      +4
hush_main                                           1108    1111      +3
ash_main                                            1150    1152      +2
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/0 up/down: 66/0)               Total: 66 bytes

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