diff options
Diffstat (limited to 'graphics/asymptote/fileio.h')
-rw-r--r-- | graphics/asymptote/fileio.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/asymptote/fileio.h b/graphics/asymptote/fileio.h index d601f176d8..6fcd379ec3 100644 --- a/graphics/asymptote/fileio.h +++ b/graphics/asymptote/fileio.h @@ -56,9 +56,8 @@ inline void openpipeout() int fd=intcast(settings::getSetting<Int>("outpipe")); if(!pipeout && fd >= 0) pipeout=fdopen(fd,"w"); if(!pipeout) { - ostringstream buf; - buf << "Cannot open outpipe " << fd; - reportError(buf); + cerr << "Cannot open outpipe " << fd << endl; + exit(-1); } } |