X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/3f9555fc48a36599d3f9bd6ac68773338886c0b5..dc4d0c4bf247cfc88e1f3f9463fa2264d3d226b5:/sbr/m_popen.c diff --git a/sbr/m_popen.c b/sbr/m_popen.c index 1fb0cfb4..9a1c1a5e 100644 --- a/sbr/m_popen.c +++ b/sbr/m_popen.c @@ -47,7 +47,7 @@ m_popen (char *name, int savestdout) execvp (file, arglist); fprintf (stderr, "unable to exec "); perror (name); - _exit (-1); + _exit(1); default: close (pd[0]);