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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.2.8p22 1.4.0b6 1.5.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks