chiark / gitweb /
treewide: a few more log_*_errno + return simplifications
[elogind.git] / src / shared / logs-show.c
index 2da4ef3..98972ed 100644 (file)
@@ -858,8 +858,7 @@ static int output_cat(
                 if (r == -ENOENT)
                         return 0;
 
-                log_error_errno(r, "Failed to get data: %m");
-                return r;
+                return log_error_errno(r, "Failed to get data: %m");
         }
 
         assert(l >= 8);