summaryrefslogtreecommitdiffstats
path: root/src/shared/logs-show.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-10-07 05:47:57 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-10-07 09:51:37 +0200
commitf769518c9ac6ca6bef063092ddc0e1718a67f540 (patch)
tree2bf69333b29b19c03b9b6e02df1a66c055e116a2 /src/shared/logs-show.c
parentnetwork: use Network.name for bus path (diff)
downloadsystemd-f769518c9ac6ca6bef063092ddc0e1718a67f540.tar.xz
systemd-f769518c9ac6ca6bef063092ddc0e1718a67f540.zip
tree-wide: drop doubled empty lines
Diffstat (limited to 'src/shared/logs-show.c')
-rw-r--r--src/shared/logs-show.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index ec91b43ad5..0b28ce4117 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -1410,7 +1410,6 @@ typedef int (*output_func_t)(
dual_timestamp *previous_display_ts,
sd_id128_t *previous_boot_id);
-
static output_func_t output_funcs[_OUTPUT_MODE_MAX] = {
[OUTPUT_SHORT] = output_short,
[OUTPUT_SHORT_ISO] = output_short,
@@ -1701,7 +1700,6 @@ int add_matches_for_user_unit_full(sd_journal *j, bool all, const char *unit) {
(r = sd_journal_add_match(j, "_UID=0", SIZE_MAX))
);
-
if (r == 0 && all && endswith(unit, ".slice"))
/* Show all messages belonging to a slice */
(void) (