diff --git a/source/texk/upmendex/pageread.c b/source/texk/upmendex/pageread.c index b77fb2931..ac72af48b 100644 --- a/source/texk/upmendex/pageread.c +++ b/source/texk/upmendex/pageread.c @@ -39,7 +39,7 @@ int lastpage(const char *filename) fp=NULL; if (fp==NULL) { fprintf(stderr,"No log file, %s.\n",logfile); - exit(0); + exit(255); } while (1) { diff --git a/source/texk/upmendex/styfile.c b/source/texk/upmendex/styfile.c index b6e35ea33..c0d583c2b 100644 --- a/source/texk/upmendex/styfile.c +++ b/source/texk/upmendex/styfile.c @@ -47,7 +47,7 @@ void styread(const char *filename) fp=NULL; if (fp==NULL) { fprintf(stderr,"%s does not exist.\n",filename); - exit(0); + exit(255); } verb_printf(efp,"Scanning style file %s.",filename);