]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
No taping but running using /dev/null on the LynxOS PPCs.
authorhades <hades>
Mon, 22 May 2000 16:26:06 +0000 (16:26 +0000)
committerhades <hades>
Mon, 22 May 2000 16:26:06 +0000 (16:26 +0000)
hadaq/evtbuild.c

index d32c5007c89d37c5b01d0934fb7968f2d48cd027..f5996ce75b1127354b60dd4667ef6c0bd1ec82be 100644 (file)
@@ -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 <unistd.h>
@@ -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);