From a4b1099db872d75868caa7f495bb7b57fd78e31f Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Tue, 27 Aug 2024 21:19:41 +0200 Subject: [PATCH] fixup! mxqkill: Use cancel_group With the new logic, the normal program flow runs until the end of main(). Unfortunately, there is a `return(1);` at the end. Remove that. --- mxqkill.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mxqkill.c b/mxqkill.c index 2615866..6d5f21f 100644 --- a/mxqkill.c +++ b/mxqkill.c @@ -461,5 +461,4 @@ int main(int argc, char *argv[]) mx_mysql_finish(&mysql); mx_log_info("MySQL: Connection to database closed."); - return 1; }