aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1996-10-12 02:15:30 +0000
committerSteve Price <steve@FreeBSD.org>1996-10-12 02:15:30 +0000
commit97162b3f35557fd132bddb0a761653231e51d733 (patch)
tree7c51c9d43c46e6a7ffa9b5ed65c7977c4f1136b8
parent1737b9d383c1e6757b4d050603876aeadebbc4c1 (diff)
Notes
-rw-r--r--usr.bin/make/main.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index 474bd1b925f50..a358a0e1d8656 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);