summaryrefslogtreecommitdiff
path: root/minecctl/minecctl.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-26 23:07:28 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-26 23:07:28 +0200
commit957634c7c434b6c8d696ca8f4098e96a201fdfb0 (patch)
treeb29f8a70453dcd7bab00079660330a47dd633428 /minecctl/minecctl.h
parenta6b905895fef7bdd51781def5c003a95983a231e (diff)
Allow commands to return success or not rather than just dying
Diffstat (limited to 'minecctl/minecctl.h')
-rw-r--r--minecctl/minecctl.h2
1 files changed, 1 insertions, 1 deletions
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;
};