From 70ab0d01d294575f0f9b769ae53339e63c6b9a40 Mon Sep 17 00:00:00 2001 From: Nicolas Thery Date: Sat, 1 May 2021 08:48:18 +0200 Subject: [PATCH] kill: change default signal The default signal is SIGTERM, not SIGKILL. --- src/uu/kill/src/kill.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/kill/src/kill.rs b/src/uu/kill/src/kill.rs index 916c13cc3..fe925ce37 100644 --- a/src/uu/kill/src/kill.rs +++ b/src/uu/kill/src/kill.rs @@ -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, ) }