icinga2-diagnostics
icinga2-diagnostics copied to clipboard
Bug at Line 588?
Hi,
the script found 2 php.ini. All of them have a correct date.timezone. But in the output I see this:
- At least one php.ini file has no valid timezone setting
At Line 27 you set PHPINITIMEZONEMISSING=false
And at Line 294 to 302 you set this to "true" if you find a php.ini without a correct date.timezone. Right?
So, then in my opinion Line 588 should be:
if [ ${PHPINITIMEZONEMISSING} = true ]
Otherwise the If Statement is everytime true.
Greetings
My System: Ubuntu Server 16.04.6 x64
Good catch! Thank you.