Kaydet (Commit) ae677af0 authored tarafından Christian Lohmaier's avatar Christian Lohmaier

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

Change-Id: Ie077fc273601607cba72099d650c6774f08240fb
üst cf9d714f
...@@ -279,7 +279,7 @@ sub check_system_environment ...@@ -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 "" )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment