summary refs log tree commit diff
path: root/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index 13098af..faf9150 100644
--- a/daemon.c
+++ b/daemon.c
@@ -134,7 +134,7 @@ static void parseControl(char *command) {
 	} else if (!strcmp(action, "restart")) {
 		fn = serviceRestart;
 	} else if (!strcmp(action, "status")) {
-		// TODO
+		fn = serviceStatus;
 	} else {
 		for (int i = 1; i < NSIG; ++i) {
 			if (strcasecmp(action, sys_signame[i])) continue;