From a474728e82510aa98995f02ac53ca7207b0baf76 Mon Sep 17 00:00:00 2001 From: Kang-Che Sung Date: Sun, 8 Jan 2017 14:27:34 +0100 Subject: 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 --- procps/kill.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'procps') diff --git a/procps/kill.c b/procps/kill.c index 57a33bc..36cd22f 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) -- cgit v1.1