From: Antonio Alvarez Feijoo Date: Thu, 28 Aug 2025 12:09:14 +0000 (+0200) Subject: resolvectl: add missing error check X-Git-Tag: v258-rc4~34^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=134fde8666222fe556b13ee513fd61a45027d5ed;p=thirdparty%2Fsystemd.git resolvectl: add missing error check Follow-up for 45817e9245d48ad8807de2b1604bc64b9dd39a1d --- diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c index a5e8696d89a..7f9cc33436d 100644 --- a/src/resolve/resolvectl.c +++ b/src/resolve/resolvectl.c @@ -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)