diff --git a/src/Config/DefaultsConfig.php b/src/Config/DefaultsConfig.php index a938ea746..fec838fea 100644 --- a/src/Config/DefaultsConfig.php +++ b/src/Config/DefaultsConfig.php @@ -101,7 +101,7 @@ protected function getHomeDir() $home = getenv('HOME'); if (!$home) { $system = ''; - if (getenv('MSYSTEM') !== null) { + if (getenv('MSYSTEM')) { $system = strtoupper(substr(getenv('MSYSTEM'), 0, 4)); } if ($system != 'MING') {