]> diplodocus.org Git - nmh/blobdiff - uip/rcvtty.c
Added tests of MMDF mailbox format to test-eom-align.
[nmh] / uip / rcvtty.c
index 1e28623a20019367b74d5a51c0aff1e1fa7eacc9..f1368f71903939529236eea013283eb8b0de4530 100644 (file)
@@ -17,8 +17,9 @@
 #include <h/scansbr.h>
 #include <h/tws.h>
 #include <h/mts.h>
+#include "h/done.h"
 #include <h/utils.h>
-#include "../sbr/m_mktemp.h"
+#include "sbr/m_mktemp.h"
 #include <fcntl.h>
 
 #ifdef HAVE_GETUTXENT
@@ -230,11 +231,11 @@ message_fd (char **vec)
     /* child process */
     rewind (stdin);
     if (dup2 (fd, 1) == NOTOK || dup2 (fd, 2) == NOTOK)
-       _exit (-1);
+       _exit(1);
     closefds (3);
     setpgid(0, getpid());      /* put in own process group */
     if (execvp (vec[0], vec) == NOTOK) {
-        _exit (-1);
+        _exit(1);
     }
 
     return NOTOK;