From 6fdf36275cfe3415b0615589b83691603614d800 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 5 Oct 2005 20:54:24 +0000 Subject: [PATCH] Exit if CIOLIB initialization fails. --- src/syncterm/syncterm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/syncterm/syncterm.c b/src/syncterm/syncterm.c index addb45a07f..9ef1df9cbc 100644 --- a/src/syncterm/syncterm.c +++ b/src/syncterm/syncterm.c @@ -223,7 +223,8 @@ int main(int argc, char **argv) SAFECOPY(url,argv[i]); } - initciolib(ciolib_mode); + if(initciolib(ciolib_mode)) + return(1); gettextinfo(&txtinfo); if((txtinfo.screenwidth<40) || txtinfo.screenheight<24) { -- GitLab