chiark / gitweb /
treewide: a few more log_*_errno + return simplifications
[elogind.git] / src / sysusers / sysusers.c
index 3a56b6b..845a307 100644 (file)
@@ -1709,8 +1709,7 @@ static int read_config_file(const char *fn, bool ignore_enoent) {
                         if (ignore_enoent && r == -ENOENT)
                                 return 0;
 
-                        log_error_errno(r, "Failed to open '%s', ignoring: %m", fn);
-                        return r;
+                        return log_error_errno(r, "Failed to open '%s', ignoring: %m", fn);
                 }
 
                 f = rf;