summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/main.c3
-rw-r--r--src/core/manager.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index fc60fb398e..6a2dbc2f54 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1439,6 +1439,9 @@ int main(int argc, char *argv[]) {
if (virtualization)
log_info("Detected virtualization '%s'.", virtualization);
+ if (in_initrd())
+ log_info("Running in initial RAM disk.");
+
} else
log_debug(PACKAGE_STRING " running in user mode. (" SYSTEMD_FEATURES "; " DISTRIBUTION ")");
diff --git a/src/core/manager.c b/src/core/manager.c
index 5958ade8ec..f07d26e9cd 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -1741,7 +1741,7 @@ int manager_serialize(Manager *m, FILE *f, FDSet *fds) {
dual_timestamp_serialize(f, "initrd-timestamp", &m->initrd_timestamp);
- if (! in_initrd()) {
+ if (!in_initrd()) {
dual_timestamp_serialize(f, "startup-timestamp", &m->startup_timestamp);
dual_timestamp_serialize(f, "finish-timestamp", &m->finish_timestamp);
}