homectl: fix inverted table footer condition

Fixup for 2413a0fab4.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2024-10-03 20:53:24 +01:00
committed by Luca Boccassi
parent fb0ef5eac0
commit 3be87dca03
+1 -1
View File
@@ -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