diff options
author | Ron Yorston <rmy@pobox.com> | 2019-08-16 10:05:08 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-08-16 10:05:08 +0100 |
commit | 6a7524634e79519007ac61d8f0bc6f254118b7f4 (patch) | |
tree | 4f3bd774635a6d2b033a789f71424a5a2f2e4d71 /docs | |
parent | 517cf74f6265ec4308b790b637b3f9778cbdc6e0 (diff) | |
download | busybox-w32-6a7524634e79519007ac61d8f0bc6f254118b7f4.tar.gz busybox-w32-6a7524634e79519007ac61d8f0bc6f254118b7f4.tar.bz2 busybox-w32-6a7524634e79519007ac61d8f0bc6f254118b7f4.zip |
ash: revert change to behaviour of -s option
Upstream BusyBox commit f3634584d (ash,hush: show 'c' in $- if run in
"sh -c CMD") changed the behaviour of -s to match that of bash rather
than dash. This means that the -s and -c options can't be combined.
This combination of options is used by the Windows 'su' applet to
prevent the new console window from shutting down after the command
has run. It's also useful when the shell is to be run with an
initialisation command (GitHub issue #100).
Revert the change so -s behaves as in dash.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions