Skip to content

kill: disallow combining signal with -l or -t options #7066

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jfinkels opened this issue Jan 3, 2025 · 0 comments · Fixed by #7070
Closed

kill: disallow combining signal with -l or -t options #7066

jfinkels opened this issue Jan 3, 2025 · 0 comments · Fixed by #7070
Labels

Comments

@jfinkels
Copy link
Collaborator

jfinkels commented Jan 3, 2025

Environment: Ubuntu 20.04, uutils main branch (git commit 88cdf16), GNU coreutils v9.5.227-28b1

Steps to reproduce:

env kill -l -s 1

What I expected to happen: GNU kill forbids combining -l and -s options:

kill: cannot combine signal with -l or -t
Try 'kill --help' for more information.

What happens now: uutils kill ignores the -s argument, listing the signals:

HUP
INT
QUIT
# etc.

Notes: this is causing a failure in the GNU test file tests/misc/kill.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant