Refactor: Further API cleanup -- hide svc_t internals.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-06-29 01:50:21 +02:00
1 parent 838ec0423d
commit 8b8ddc43b5
4 files changed
+19 -11

No files matched your search

+1 -1
View File
@@ -364,7 +364,7 @@ char *svc_status(svc_t *svc)
if (svc->pid)
return "running";
if (!ISSET(svc->runlevels, runlevel))
if (!svc_in_runlevel(svc, runlevel))
return "halted";
if (svc_is_inetd(svc))