From d5844bd63b757d1b6164b1661346998d340adab7 Mon Sep 17 00:00:00 2001 From: mrdudz Date: Thu, 20 Nov 2014 14:49:35 +0100 Subject: [PATCH] changed return code to -99 --- src/sim65/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sim65/main.c b/src/sim65/main.c index 10dbe3f91..22f6831e4 100644 --- a/src/sim65/main.c +++ b/src/sim65/main.c @@ -238,7 +238,8 @@ int main (int argc, char* argv[]) ExecuteInsn (); if (MaxCycles && (GetCycles () >= MaxCycles)) { Error ("Maximum number of cycles reached."); - exit (EXIT_FAILURE); + exit (-99); /* do not ues EXIT_FAILURE to avoid conflicts with the + same value being used in a test program */ } } -- 2.39.5