mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
kill: change default signal
The default signal is SIGTERM, not SIGKILL.
This commit is contained in:
@@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user