'0' is a not the same as undefined or empty value

Change-Id: Ie077fc273601607cba72099d650c6774f08240fb
This commit is contained in:
Christian Lohmaier
2015-04-16 17:01:42 +02:00
parent cf9d714f74
commit ae677af044

View File

@@ -279,7 +279,7 @@ sub check_system_environment
for my $key ( @environmentvariables )
{
$variables{$key} = $ENV{$key} || "";
$variables{$key} = defined($ENV{$key}) ? $ENV{$key} : "";
if ( $variables{$key} eq "" )
{