about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-08-30 20:49:37 +0300
committerNakidai <nakidai@disroot.org>2025-08-30 20:49:37 +0300
commita736af1427a051c669a54cc408395f27ca3c0cce (patch)
treecb01c778ff0194cce9bb319ca6d7ed77a45a0de0
parent482ea31d88f0516f6ed6b4800d42a0fcc3b0cb26 (diff)
downloadsami-a736af1427a051c669a54cc408395f27ca3c0cce.tar.gz
sami-a736af1427a051c669a54cc408395f27ca3c0cce.zip
Now SAMI_kill returns 0 on success HEAD master
-rw-r--r--sami.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sami.c b/sami.c
index 80bda70..b07c3aa 100644
--- a/sami.c
+++ b/sami.c
@@ -108,6 +108,7 @@ int SAMI_kill(SAMI *actor)
 	if (actor->pid == -1
 	 || kill(actor->pid, SIGKILL))
 		return 1;
+	return 0;
 }
 
 SAMI *SAMI_parent(void)