Update Agent in pt-agent.

This commit is contained in:
Daniel Nichter
2013-04-10 16:59:37 -06:00
parent 230d8e0394
commit 1f5e5ede61

View File

@@ -1248,7 +1248,7 @@ has 'username' => (
is => 'rw',
isa => 'Str',
required => 1,
default => $ENV{USER} || $ENV{LOGNAME},
default => sub { return $ENV{USER} || $ENV{LOGNAME} },
);
has 'hostname' => (