diff options
| author | Steve Price <steve@FreeBSD.org> | 1996-10-12 02:15:30 +0000 |
|---|---|---|
| committer | Steve Price <steve@FreeBSD.org> | 1996-10-12 02:15:30 +0000 |
| commit | 97162b3f35557fd132bddb0a761653231e51d733 (patch) | |
| tree | 7c51c9d43c46e6a7ffa9b5ed65c7977c4f1136b8 /usr.bin/make | |
| parent | 1737b9d383c1e6757b4d050603876aeadebbc4c1 (diff) | |
Notes
Diffstat (limited to 'usr.bin/make')
| -rw-r--r-- | usr.bin/make/main.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 474bd1b925f5..a358a0e1d865 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: main.c,v 1.12 1996/10/08 04:06:00 steve Exp $ + * $Id: main.c,v 1.13 1996/10/11 03:55:29 steve Exp $ */ #ifndef lint @@ -965,14 +965,8 @@ Cmd_Exec(cmd, err) while(((pid = wait(&status)) != cpid) && (pid >= 0)) continue; - if (cc == -1) { - /* - * Couldn't read all of the child's output -- tell the user - * but still use whatever we read. Null output isn't an - * error unless there was an error reading it. - */ - Parse_Error(PARSE_WARNING, "Couldn't read shell's output"); - } + if (cc == -1) + *err = "Error reading shell's output for \"%s\""; res = (char *)Buf_GetAll (buf, &cc); Buf_Destroy (buf, FALSE); |
