From 957634c7c434b6c8d696ca8f4098e96a201fdfb0 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Fri, 26 Jun 2020 23:07:28 +0200 Subject: Allow commands to return success or not rather than just dying --- minecctl/minecctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'minecctl/minecctl.h') diff --git a/minecctl/minecctl.h b/minecctl/minecctl.h index 0b8b2cf..60b71b4 100644 --- a/minecctl/minecctl.h +++ b/minecctl/minecctl.h @@ -11,7 +11,7 @@ struct cfg { bool force_stop; /* bookkeeping */ - void (*cmd)(struct cfg *cfg); + bool (*cmd)(struct cfg *cfg); struct list_head servers; }; -- cgit v1.2.3