summaryrefslogtreecommitdiffstats
path: root/misc-utils/kill.c
diff options
context:
space:
mode:
authorSami Kerola2016-08-08 22:50:19 +0200
committerSami Kerola2016-08-14 14:30:16 +0200
commit0be3ad70ad85cce75be6fffb87fa81e62bd4b105 (patch)
treed8c9708e5f39e1941cb8f56471e2d6bfea7686b6 /misc-utils/kill.c
parentmisc: always check setenv(3) return value (diff)
downloadkernel-qcow2-util-linux-0be3ad70ad85cce75be6fffb87fa81e62bd4b105.tar.gz
kernel-qcow2-util-linux-0be3ad70ad85cce75be6fffb87fa81e62bd4b105.tar.xz
kernel-qcow2-util-linux-0be3ad70ad85cce75be6fffb87fa81e62bd4b105.zip
kill: remove pid command-name to option alias
Removal was promised to happen in March 2016 and the time has come to get rid of this unexpected feature. Reference: c5b057b3422504a671ee588fa66574ae876521f1 Reviewed-by: Benno Schulenberg <bensberg@justemail.net> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils/kill.c')
-rw-r--r--misc-utils/kill.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/misc-utils/kill.c b/misc-utils/kill.c
index 34b948797..e52a03d4b 100644
--- a/misc-utils/kill.c
+++ b/misc-utils/kill.c
@@ -472,10 +472,6 @@ int main(int argc, char **argv)
textdomain(PACKAGE);
atexit(close_stdout);
- ctl.do_pid = (!strcmp(program_invocation_short_name, "pid")); /* Yecch */
- if (ctl.do_pid) /* FIXME: remove in March 2016. */
- warnx(_("use of 'kill --pid' option as command name is deprecated"));
-
argv = parse_arguments(argc, argv, &ctl);
/* The rest of the arguments should be process ids and names. */