diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2023-04-03 19:54:42 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2023-04-03 19:54:42 +0200 |
commit | 05f2bedaebd694605abd1f199fc25d93ad73840b (patch) | |
tree | a025f39e5cc6f548d3240a7a3fcd91a7752a15ff /procps | |
parent | ff8fde111e11e973b269467dd86f235a27f653df (diff) | |
download | busybox-w32-05f2bedaebd694605abd1f199fc25d93ad73840b.tar.gz busybox-w32-05f2bedaebd694605abd1f199fc25d93ad73840b.tar.bz2 busybox-w32-05f2bedaebd694605abd1f199fc25d93ad73840b.zip |
ash: sleep builtin with no arguments should not exit
function old new delta
sleep_main 116 143 +27
.rodata 105245 105268 +23
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 50/0) Total: 50 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r-- | procps/kill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/kill.c b/procps/kill.c index 8f10e21ab..208efebde 100644 --- a/procps/kill.c +++ b/procps/kill.c | |||
@@ -85,8 +85,8 @@ | |||
85 | * This brings some complications: | 85 | * This brings some complications: |
86 | * | 86 | * |
87 | * + we can't use xfunc here | 87 | * + we can't use xfunc here |
88 | * + we can't use applet_name | ||
89 | * + we can't use bb_show_usage | 88 | * + we can't use bb_show_usage |
89 | * + applet_name can be the name of the shell | ||
90 | * (doesn't apply for killall[5], still should be careful b/c NOFORK) | 90 | * (doesn't apply for killall[5], still should be careful b/c NOFORK) |
91 | * | 91 | * |
92 | * kill %n gets translated into kill ' -<process group>' by shell (note space!) | 92 | * kill %n gets translated into kill ' -<process group>' by shell (note space!) |