diff options
author | Ron Yorston <rmy@pobox.com> | 2020-02-27 09:50:18 +0000 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-04-30 16:42:58 +0200 |
commit | da7a6dbfa5d78e3d5cec5906b402908505d0fcf9 (patch) | |
tree | 447621855bebf9cadd2ce2c47c944060988a87ac /examples | |
parent | d1b75e1842b3e4f61daae2fb8a64d784a553f15c (diff) | |
download | busybox-da7a6dbfa5d78e3d5cec5906b402908505d0fcf9.tar.gz |
ash: fix build failure when command built-in is disabled
Since commit 7eb8eecbb (ash: eval: Add assignment built-in support
again) building BusyBox with the 'command' built-in disabled fails.
parse_command_args() only needs to be called when the 'command'
built-in is run. Which it won't be if it's disabled.
v2: Avoiding infinite loops is good, too. Thanks, Harald van Dijk.
Reported-by: Deweloper <deweloper@wp.pl>
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions