From: Zbigniew Jędrzejewski-Szmek Date: Thu, 3 Oct 2024 17:06:49 +0000 (+0200) Subject: homectl: fix inverted table footer condition X-Git-Tag: v257-rc1~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3be87dca031956bc0f7744d0bb9e1fea04acd945;p=thirdparty%2Fsystemd.git homectl: fix inverted table footer condition Fixup for 2413a0fab4fdad7eef3ce1d4b57664be5795b002. --- 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