...G...... [ZBX-8138] adjusted style of a conditional statement for a while loop