]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: fix coverity CID 1574977
authorChristian Hopps <chopps@labn.net>
Sat, 30 Dec 2023 15:58:40 +0000 (15:58 +0000)
committerChristian Hopps <chopps@labn.net>
Sat, 30 Dec 2023 16:03:45 +0000 (16:03 +0000)
Signed-off-by: Christian Hopps <chopps@labn.net>
lib/vty.c

index 3c80403cce7bb5d41d0b1e634491ab8b200c51ef..a08a3c873590a10f1fa008e991095c0becfa664c 100644 (file)
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -3657,8 +3657,7 @@ static int vty_mgmt_get_data_result_notified(
        }
        if (next_key < 0) {
                vty_out(vty, "]\n");
-               vty_mgmt_resume_response(vty,
-                                        success ? CMD_SUCCESS : CMD_WARNING);
+               vty_mgmt_resume_response(vty, CMD_SUCCESS);
        }
 
        return 0;