From d0b76b1726feb5e32bb368c041fdefb132b4f95c Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 28 Jul 2022 18:05:15 -0700 Subject: [PATCH] capability: Don't print redundant "sealed" for sentries. --- gdbsupport/capability.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdbsupport/capability.cc b/gdbsupport/capability.cc index a3993b4b90f..02656673855 100644 --- a/gdbsupport/capability.cc +++ b/gdbsupport/capability.cc @@ -573,7 +573,7 @@ capability::metadata_str (void) attr_str += ","; attr_str += "sentry"; } - if (is_sealed ()) + else if (is_sealed ()) { if (!attr_str.empty ()) attr_str += ","; -- 2.47.2