'0' is a not the same as undefined or empty value
Change-Id: Ie077fc273601607cba72099d650c6774f08240fb
This commit is contained in:
@@ -279,7 +279,7 @@ sub check_system_environment
|
|||||||
|
|
||||||
for my $key ( @environmentvariables )
|
for my $key ( @environmentvariables )
|
||||||
{
|
{
|
||||||
$variables{$key} = $ENV{$key} || "";
|
$variables{$key} = defined($ENV{$key}) ? $ENV{$key} : "";
|
||||||
|
|
||||||
if ( $variables{$key} eq "" )
|
if ( $variables{$key} eq "" )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user