Skip to content

kill: should fail if no PID is specified #6221

@cakebaker

Description

@cakebaker

When running GNU kill without a PID, it fails and shows an error message:

$ ~/projects/gnu/src/kill
/home/dho/projects/gnu/src/kill: no process ID specified
Try '/home/dho/projects/gnu/src/kill --help' for more information.
$ echo $?
1

uutils kill, on the other hand, doesn't fail and there is no output:

$ cargo run --features=unix kill
$ echo $?
0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions