summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipsk/output.c')
-rw-r--r--Build/source/texk/dvipsk/output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvipsk/output.c b/Build/source/texk/dvipsk/output.c
index 51e2ded0f3a..da3b6098262 100644
--- a/Build/source/texk/dvipsk/output.c
+++ b/Build/source/texk/dvipsk/output.c
@@ -186,7 +186,6 @@ copyfile_general(const char *s, struct header_list *cur_header)
#endif /* ! VMCMS */
#else /* ! (VMCMS || MVSXA) */
sprintf(errbuf, "Could not find figure file %.500s; continuing.", s);
- found_problems = 0; /* continue, but do not exit successfully */
if (secure == 2) {
strcat(errbuf, "\nNote that an absolute path or a relative path with .. are denied in -R2 mode.");
}
@@ -238,9 +237,10 @@ copyfile_general(const char *s, struct header_list *cur_header)
}
break;
}
- if (f==NULL)
+ if (f==NULL) {
+ found_problems = 1; /* continue, but eventually exit unsuccessfully */
error(errbuf);
- else {
+ } else {
if (! quiet) {
#if defined(VMCMS) || defined (MVSXA)
if (strlen(s) + prettycolumn > STDOUTSIZE) {