Skip to content

Commit

Permalink
upmendex: exit code 255 for non-existent style/log files (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-tk committed Jun 13, 2021
1 parent 416dca8 commit e5de1f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/texk/upmendex/pageread.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion source/texk/upmendex/styfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e5de1f1

Please sign in to comment.