diff options
author | June McEnroe <june@causal.agency> | 2020-08-15 15:29:58 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-08-15 15:29:58 -0400 |
commit | 92d27e09c3a6c66e6a14b35a3666a04eaa54813a (patch) | |
tree | 046ee579b3a5a189ce7d9d3c6cde6757537439e3 /daemon.c | |
parent | Parse control commands (diff) | |
download | catsit-92d27e09c3a6c66e6a14b35a3666a04eaa54813a.tar.gz catsit-92d27e09c3a6c66e6a14b35a3666a04eaa54813a.zip |
Implement service status
Diffstat (limited to '')
-rw-r--r-- | daemon.c | 2 |
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; |