From 3be87dca031956bc0f7744d0bb9e1fea04acd945 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 3 Oct 2024 19:06:49 +0200 Subject: [PATCH] homectl: fix inverted table footer condition Fixup for 2413a0fab4fdad7eef3ce1d4b57664be5795b002. --- src/home/homectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/home/homectl.c b/src/home/homectl.c index d1cc8146b6a..741e5d72b7a 100644 --- a/src/home/homectl.c +++ b/src/home/homectl.c @@ -214,7 +214,7 @@ static int list_homes(int argc, char *argv[], void *userdata) { return r; } - if (arg_legend && !FLAGS_SET(arg_json_format_flags, SD_JSON_FORMAT_OFF)) { + if (arg_legend && FLAGS_SET(arg_json_format_flags, SD_JSON_FORMAT_OFF)) { if (table_isempty(table)) printf("No home areas.\n"); else -- 2.47.3