summaryrefslogtreecommitdiff
path: root/procps/kill.c
diff options
context:
space:
mode:
authorDenys Vlasenko2023-04-03 19:54:42 +0200
committerDenys Vlasenko2023-04-25 16:47:22 +0200
commitd661cb1977def8215c50ae3eed1f9beb2877b862 (patch)
tree24cdd587d51032acc06292ebc26a12224b664a65 /procps/kill.c
parent515adcc9f3eb437400c08c24e0f19b149aed7f06 (diff)
downloadbusybox-d661cb1977def8215c50ae3eed1f9beb2877b862.zip
busybox-d661cb1977def8215c50ae3eed1f9beb2877b862.tar.gz
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/kill.c')
-rw-r--r--procps/kill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/kill.c b/procps/kill.c
index 8f10e21..208efeb 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -85,8 +85,8 @@
* This brings some complications:
*
* + we can't use xfunc here
- * + we can't use applet_name
* + we can't use bb_show_usage
+ * + applet_name can be the name of the shell
* (doesn't apply for killall[5], still should be careful b/c NOFORK)
*
* kill %n gets translated into kill ' -<process group>' by shell (note space!)