diff options
| author | cgd <cgd@NetBSD.org> | 1993-05-13 06:15:23 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1993-05-13 06:15:23 +0000 |
| commit | 1a7cf74fdae95a16d51acf07d86a705f215c8d98 (patch) | |
| tree | 6e08360bf31fc97009bf8bac8084da2e1514a17c /libexec | |
| parent | 69d1a121b3e254beb32a64902c049f349e2fe077 (diff) | |
include a "To:" line in the message passsed to sendmail.
from Gordon Burditt <gordon@sneaky.lonestar.org>
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/bugfiler/sendbug.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/bugfiler/sendbug.sh b/libexec/bugfiler/sendbug.sh index e13464b46d9..7f616825cf6 100644 --- a/libexec/bugfiler/sendbug.sh +++ b/libexec/bugfiler/sendbug.sh @@ -62,8 +62,8 @@ then exit fi case "$#" in - 0) sendmail -t -oi $BUGADDR < $TEMP ;; - *) sendmail -t -oi "$@" < $TEMP ;; + 0) (echo "To: $BUGADDR"; cat $TEMP) | sendmail -t -oi ;; + *) (echo "To: $@"; cat $TEMP ) | sendmail -t -oi ;; esac fi |
