resolvectl: add missing error check

Follow-up for 45817e9245
This commit is contained in:
Antonio Alvarez Feijoo
2025-08-28 14:09:14 +02:00
parent e91bfad241
commit 134fde8666
+2
View File
@@ -2338,6 +2338,8 @@ static int status_delegate_one(sd_bus *bus, const char *id, StatusMode mode, boo
TABLE_FIELD, "Default Route",
TABLE_SET_MINIMUM_WIDTH, 19,
TABLE_BOOLEAN, delegate_info.default_route);
if (r < 0)
return table_log_add_error(r);
r = table_print(table, NULL);
if (r < 0)