diff options
author | cpiazza <cpiazza@FreeBSD.org> | 2000-03-29 07:05:29 +0000 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 2000-03-29 07:05:29 +0000 |
commit | 9fa69f5f299e62a9ae54b3fe5e843fcac5098ac0 (patch) | |
tree | ba72a8e47d5936aa671169473ba193ef9a4c2a91 /usr.sbin/periodic | |
parent | b59856a9c96a870a77fb4a556cfea7fd7a3416d4 (diff) | |
download | FreeBSD-src-9fa69f5f299e62a9ae54b3fe5e843fcac5098ac0.zip FreeBSD-src-9fa69f5f299e62a9ae54b3fe5e843fcac5098ac0.tar.gz |
export host after setting it.
This is needed so passwd diffs show the hostname instead of
" passwd diffs:"
PR: 17651
Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
Diffstat (limited to 'usr.sbin/periodic')
-rw-r--r-- | usr.sbin/periodic/periodic.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/periodic/periodic.sh b/usr.sbin/periodic/periodic.sh index 077afa4..ca426e5 100644 --- a/usr.sbin/periodic/periodic.sh +++ b/usr.sbin/periodic/periodic.sh @@ -52,6 +52,7 @@ else fi host=`hostname` +export host echo "Subject: $host $run run output" # Execute each executable file in the directory list. If the x bit is not |