diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-01 16:09:07 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-01 16:09:07 +0000 |
commit | fa0b56db76e5c4c5a375930fad358ea5a364d328 (patch) | |
tree | 58860badefa488707ba635ef4a3f7c682ddb8163 /shell/ash.c | |
parent | 82604e973085f91f1b99cacea08963d0d1468084 (diff) | |
download | busybox-w32-fa0b56db76e5c4c5a375930fad358ea5a364d328.tar.gz busybox-w32-fa0b56db76e5c4c5a375930fad358ea5a364d328.tar.bz2 busybox-w32-fa0b56db76e5c4c5a375930fad358ea5a364d328.zip |
sendmail: fix wrong vfork usage here too
*: shorten error texts
function old new delta
launch_helper - 151 +151
vfork_or_die 20 - -20
sendgetmail_main 1946 1848 -98
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/1 up/down: 151/-118) Total: 33 bytes
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 85064d5af..58bfc5278 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -4581,7 +4581,7 @@ forkshell(struct job *jp, union node *n, int mode) | |||
4581 | TRACE(("Fork failed, errno=%d", errno)); | 4581 | TRACE(("Fork failed, errno=%d", errno)); |
4582 | if (jp) | 4582 | if (jp) |
4583 | freejob(jp); | 4583 | freejob(jp); |
4584 | ash_msg_and_raise_error("cannot fork"); | 4584 | ash_msg_and_raise_error("can't fork"); |
4585 | } | 4585 | } |
4586 | if (pid == 0) | 4586 | if (pid == 0) |
4587 | forkchild(jp, /*n,*/ mode); | 4587 | forkchild(jp, /*n,*/ mode); |