[Pdbg] [PATCH 06/12] main: cpus_parse() should fail if get_pir() fails

Jordan Niethe jniethe5 at gmail.com
Mon Aug 2 15:41:06 AEST 2021


Signed-off-by: Jordan Niethe <jniethe5 at gmail.com>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 5d16a7dbac18..b2474d87135a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -499,7 +499,7 @@ static bool parse_options(int argc, char *argv[])
 			if (l_list[i] == 1) {
 				pir = get_pir(i);
 				if (pir < 0)
-					return true;
+					return false;
 
 				pir_map(pir, &chip, &core, &thread);
 
-- 
2.25.1



More information about the Pdbg mailing list