mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +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(
|
||||
&matches
|
||||
.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,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue