From: Kang-Che Sung Date: Sun, 8 Jan 2017 13:27:34 +0000 (+0100) Subject: ash: fix "kill %1" not working if CONFIG_ASH is disabled X-Git-Tag: 1_27_0~278 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a474728e82510aa98995f02ac53ca7207b0baf76;p=oweals%2Fbusybox.git ash: fix "kill %1" not working if CONFIG_ASH is disabled ix ash "kill %1" not working if CONFIG_ASH is disabled but ash is launched by 'sh' or 'bash' name Signed-off-by: Kang-Che Sung Signed-off-by: Denys Vlasenko --- diff --git a/procps/kill.c b/procps/kill.c index 57a33bcaa..36cd22f37 100644 --- a/procps/kill.c +++ b/procps/kill.c @@ -285,7 +285,8 @@ int kill_main(int argc UNUSED_PARAM, char **argv) /* Looks like they want to do a kill. Do that */ while (arg) { -#if ENABLE_ASH || ENABLE_HUSH +#if ENABLE_ASH || ENABLE_SH_IS_ASH || ENABLE_BASH_IS_ASH \ + || ENABLE_HUSH || ENABLE_SH_IS_HUSH || ENABLE_BASH_IS_HUSH /* * We need to support shell's "hack formats" of * " -PRGP_ID" (yes, with a leading space)