mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
kill: change default signal
The default signal is SIGTERM, not SIGKILL.
This commit is contained in:
parent
29103b7ec2
commit
70ab0d01d2
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
|
||||||
return kill(
|
return kill(
|
||||||
&matches
|
&matches
|
||||||
.opt_str("signal")
|
.opt_str("signal")
|
||||||
.unwrap_or_else(|| obs_signal.unwrap_or_else(|| "9".to_owned())),
|
.unwrap_or_else(|| obs_signal.unwrap_or_else(|| "TERM".to_owned())),
|
||||||
matches.free,
|
matches.free,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue