summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/execute.c2
-rw-r--r--src/core/mount.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index 7dc15044b4..9718e43a70 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -1827,7 +1827,7 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
prefix, c->cpu_sched_priority,
prefix, yes_no(c->cpu_sched_reset_on_fork));
free(policy_str);
- }
+ }
if (c->cpuset) {
fprintf(f, "%sCPUAffinity:", prefix);
diff --git a/src/core/mount.c b/src/core/mount.c
index 5d2b010013..25bc7e197a 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -717,9 +717,9 @@ static void mount_set_state(Mount *m, MountState state) {
state == MOUNT_UNMOUNTING_SIGTERM ||
state == MOUNT_UNMOUNTING_SIGKILL ||
state == MOUNT_FAILED) {
- if (state != old_state)
- mount_notify_automount(m, -ENODEV);
- }
+ if (state != old_state)
+ mount_notify_automount(m, -ENODEV);
+ }
if (state != old_state)
log_debug_unit(UNIT(m)->id,