Set TZ to UTC so dates in the history file will match dates in the logs.
This commit is contained in:
parent
139b410f5b
commit
9d7f0e1d46
@ -418,6 +418,7 @@ sub tbmaster($) {
|
||||
###
|
||||
MAIN:{
|
||||
# Set defaults
|
||||
$ENV{'TZ'} = "UTC";
|
||||
$ENV{'PATH'} = "/usr/bin:/usr/sbin:/bin:/sbin";
|
||||
$INITIAL_CONFIG{'HOSTNAME'} = `/usr/bin/uname -n`;
|
||||
if ($INITIAL_CONFIG{'HOSTNAME'} =~ m/^([0-9a-z-]+(?:\.[0-9a-z-]+)*)$/) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user