diff options
author | Ron Yorston <rmy@pobox.com> | 2023-08-28 09:47:51 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-08-28 09:47:51 +0100 |
commit | 52922a1509d4623b7efdc8e7091be514cf4cd261 (patch) | |
tree | 58b80f5cd553bfcdd159af6d56ee685ca300c06c /docs | |
parent | 8abbf4599d4ea84f084a7ce2832b59a793607699 (diff) | |
download | busybox-w32-52922a1509d4623b7efdc8e7091be514cf4cd261.tar.gz busybox-w32-52922a1509d4623b7efdc8e7091be514cf4cd261.tar.bz2 busybox-w32-52922a1509d4623b7efdc8e7091be514cf4cd261.zip |
libbb: fix #!/bin/busybox
Commit 3476fb9f4c (ps: display interpreted script name in comm
column) required the applet start up code to detect the index
of the script in a shebang command line.
When a script starts with '#!/bin/busybox' the argument list is
shifted in busybox_main() but the script index wasn't adjusted
to match. This caused the command to fail.
Make the proper adjustment.
Add 16 bytes.
(GitHub issue #357)
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions