mirror of
https://github.com/troglobit/finit.git
synced 2026-11-28 20:58:24 +00:00
svc.c: Add debug to svc_runlevel().
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
1f860164f4
commit
c769fbda0f
1 file changed
+2
@@ -248,6 +248,8 @@ void svc_runlevel(int newlevel)
|
|||||||
runlevel = newlevel;
|
runlevel = newlevel;
|
||||||
utmp_save(prevlevel, newlevel);
|
utmp_save(prevlevel, newlevel);
|
||||||
|
|
||||||
|
_d("Setting new runlevel --> %d <-- previous %d", runlevel, prevlevel);
|
||||||
|
|
||||||
for (svc = svc_iterator(1); svc; svc = svc_iterator(0)) {
|
for (svc = svc_iterator(1); svc; svc = svc_iterator(0)) {
|
||||||
svc_cmd_t cmd;
|
svc_cmd_t cmd;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user