summaryrefslogtreecommitdiff
path: root/gs/psi/imainarg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/psi/imainarg.c')
-rw-r--r--gs/psi/imainarg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gs/psi/imainarg.c b/gs/psi/imainarg.c
index 17fdadb9f..7628ce64c 100644
--- a/gs/psi/imainarg.c
+++ b/gs/psi/imainarg.c
@@ -316,7 +316,9 @@ run_stdin:
}
if (code < 0)
return e_Fatal;
- runarg(minst, "]put", psarg, ".runfile", runInit | runFlush);
+ code = runarg(minst, "]put", psarg, ".runfile", runInit | runFlush);
+ if (code < 0)
+ return code;
return e_Quit;
}
case 'A': /* trace allocator */