core: add two minor comments (#10890)

This commit is contained in:
Lennart Poettering
2018-11-23 06:25:27 +09:00
committed by Yu Watanabe
parent 4928e8adba
commit 66fa4bdd70
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -1491,6 +1491,9 @@ int unit_load(Unit *u) {
return 0;
if (u->transient_file) {
/* Finalize transient file: if this is a transient unit file, as soon as we reach unit_load() the setup
* is complete, hence let's synchronize the unit file we just wrote to disk. */
r = fflush_and_check(u->transient_file);
if (r < 0)
goto fail;
+1
View File
@@ -316,6 +316,7 @@ typedef struct Unit {
/* Is this a unit that is always running and cannot be stopped? */
bool perpetual;
/* Booleans indicating membership of this unit in the various queues */
bool in_load_queue:1;
bool in_dbus_queue:1;
bool in_cleanup_queue:1;