Werk #4616: mk_postgres/mk_db2.linux: Fixed quotes which lead into wrong interpretation
Component | Checks & agents | ||||||||||||||||||
Title | mk_postgres/mk_db2.linux: Fixed quotes which lead into wrong interpretation | ||||||||||||||||||
Date | Apr 11, 2017 | ||||||||||||||||||
Level | Trivial Change | ||||||||||||||||||
Class | Bug Fix | ||||||||||||||||||
Compatibility | Compatible - no manual interaction needed | ||||||||||||||||||
Checkmk versions & editions |
|
The double quotes in awk of the function compare_version_greater_euqal lead into a bash interpreting of the $1 variable expansion. In consequence the comparison between e.g. 9.0 and 7.3 resultet in a return 1. This misbehaviour has been fixed now.