kill: change default signal

The default signal is SIGTERM, not SIGKILL.
This commit is contained in:
Nicolas Thery
2021-05-01 16:47:42 +02:00
parent 29103b7ec2
commit 70ab0d01d2
+1 -1
View File
@@ -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,
)
}