From: hades Date: Mon, 22 May 2000 16:26:06 +0000 (+0000) Subject: No taping but running using /dev/null on the LynxOS PPCs. X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=d388dcd1f4cbaff76d552b67bc29e956273444be;p=daqdata.git No taping but running using /dev/null on the LynxOS PPCs. --- diff --git a/hadaq/evtbuild.c b/hadaq/evtbuild.c index d32c500..f5996ce 100644 --- a/hadaq/evtbuild.c +++ b/hadaq/evtbuild.c @@ -1,4 +1,4 @@ -static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.16 2000-05-22 08:20:48 hades Exp $"; +static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.17 2000-05-22 16:26:06 hades Exp $"; #define _XOPEN_SOURCE #include @@ -239,8 +239,9 @@ int main(int argc, char *argv[]) } } else if (strcmp(outDev, "tape") == 0) { if (NULL == (outTape = openAnsiTape(outPath))) { - msglog(LOG_ERR, "%s, %d: %s\n", __FILE__, __LINE__, strerror(errno)); - exit(EXIT_FAILURE); + msglog(LOG_NOTICE, "Opening of tape failed (no tape available?): Writing to /dev/null.\n"); + outDev = "null"; + outFile = NULL; } } else { msglog(LOG_ERR, "unknown outputDev \"%s\"\n", outDev);