fail in pick if a massage of -thread has no thread-id
[mmh] / uip / pick.c
index 049be8a..f700a0c 100644 (file)
@@ -1330,6 +1330,7 @@ createpickthread(char *msgs)
        for (i = 0; i < files.size; i++) {
                buf = getthreadid(files.msgs[i]);
                if (!buf) {
+                       adios(EX_DATAERR, NULL, "message %s is not part of a thread", basename(files.msgs[i]));
                        continue;
                }