Werk #4616: mk_postgres/mk_db2.linux: Fixed quotes which lead into wrong interpretation

Komponente Checks & agents
Titel mk_postgres/mk_db2.linux: Fixed quotes which lead into wrong interpretation
Datum 11.04.2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.2.8p22 1.4.0b6 1.5.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks