#!/bin/bash
version=`tl-session-param /client_params/capabilities/client_version`
if [[ $version != "4.3.0" ]] ; then
  # terminate the session
  if type zenity > /dev/null; then
    zenity --error --text "Invalid ThinLinc client version."
  fi
  exit 0
fi
