summaryrefslogtreecommitdiff
path: root/src/core/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-01 02:34:19 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-01 17:20:56 +0200
commitae2a2c53dd059f0f20fa8080f6b67389be3d3e89 (patch)
tree462c5577259d9cf48d6361ca424c5103c997faf0 /src/core/manager.h
parentfc60d8153caebaeea8461e5c3ea1efe404d989d5 (diff)
manager: don't write first-boot flag file all the time
Instead, remember that we have already written it.
Diffstat (limited to 'src/core/manager.h')
-rw-r--r--src/core/manager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/manager.h b/src/core/manager.h
index 1e01f2bdef..3f7fa24e58 100644
--- a/src/core/manager.h
+++ b/src/core/manager.h
@@ -233,7 +233,6 @@ struct Manager {
bool dispatching_dbus_queue:1;
bool taint_usr:1;
- bool first_boot:1;
bool test_run:1;
@@ -295,6 +294,8 @@ struct Manager {
const char *unit_log_field;
const char *unit_log_format_string;
+
+ int first_boot;
};
int manager_new(ManagerRunningAs running_as, bool test_run, Manager **m);