diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-01-24 18:33:18 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-24 18:33:18 +0100 |
commit | d8fd88a0915364c30769ec5c5a6b542517fd55f3 (patch) | |
tree | 132dedbf64046c01185e8cddd42671284a68b859 /miscutils | |
parent | 14bc965ea9c869716f6b42814b140571f50c5f18 (diff) | |
download | busybox-d8fd88a0915364c30769ec5c5a6b542517fd55f3.tar.gz |
ash: add support for command_not_found_handle hook function (bashism)
This implements support for the command_not_found_handle hook function, which is
useful for allowing package managers to suggest packages which could provide the
command.
Unlike bash, however, we ignore exit codes from the hook function and always return
the correct POSIX error code (EX_NOTFOUND).
function old new delta
find_command 911 990 +79
Signed-off-by: William Pitcock <nenolod@dereferenced.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
0 files changed, 0 insertions, 0 deletions