treewide: a few more log_*_errno + return simplifications

The one in tmpfiles.c:create_item() even looks like it fixes a bug.
This commit is contained in:
Michal Schmidt
2014-11-28 19:17:24 +01:00
parent f647962d64
commit 8d3d7072e6
8 changed files with 12 additions and 24 deletions
+1 -2
View File
@@ -134,8 +134,7 @@ static int parse_file(Hashmap *sysctl_options, const char *path, bool ignore_eno
if (ignore_enoent && r == -ENOENT)
return 0;
log_error_errno(r, "Failed to open file '%s', ignoring: %m", path);
return r;
return log_error_errno(r, "Failed to open file '%s', ignoring: %m", path);
}
log_debug("parse: %s", path);