summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machine.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/machine/machine.c b/src/machine/machine.c
index 40189269e0..0d84213eea 100644
--- a/src/machine/machine.c
+++ b/src/machine/machine.c
@@ -259,8 +259,7 @@ int machine_load(Machine *m) {
if (r == -ENOENT)
return 0;
- log_error_errno(r, "Failed to read %s: %m", m->state_file);
- return r;
+ return log_error_errno(r, "Failed to read %s: %m", m->state_file);
}
if (id)