summaryrefslogtreecommitdiff
path: root/src/core/unit.c
diff options
context:
space:
mode:
authorOlivier Brunel <jjk@jjacky.com>2013-09-20 22:18:29 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-11-13 23:22:31 -0500
commit2f38577f3040eedebfe1ace05d5b5a779a588af1 (patch)
tree5da2fb1f10c4e10e6cfec0a7641e6a61bf81f080 /src/core/unit.c
parent8aa5429a4a59abbcf567938fa6ef60bb2c8ae2f1 (diff)
Only disable output on console during boot if needed
If there are no more jobs on console, no need/we shouldn't disable output.
Diffstat (limited to 'src/core/unit.c')
-rw-r--r--src/core/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 201329fc86..15e0a82020 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -1492,7 +1492,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
if (m->n_on_console == 0)
/* unset no_console_output flag, since the console is free */
- m->no_console_output = 0;
+ m->no_console_output = false;
} else
m->n_on_console ++;
}