From ca43d4d57ebe79c0ef4af8634a7594904d5f92b6 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 2 Jul 2011 20:16:12 +0000 Subject: [PATCH] main.c, emphasize batch termination with sp_shutdown(EXIT_NORMAL) invocation --- src/main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 2ebd813a7..bc93faec7 100644 --- a/src/main.c +++ b/src/main.c @@ -1299,11 +1299,12 @@ evl: sp_shutdown(EXIT_BAD); } + return sp_shutdown(EXIT_NORMAL); } /* --- if (ft_batchmode) --- */ - else { - cp_interactive = TRUE; - app_rl_readlines(); /* enter the command processing loop */ - } /* --- else (if (ft_batchmode)) --- */ + + + cp_interactive = TRUE; + app_rl_readlines(); /* enter the command processing loop */ #else /* ~ SIMULATOR */