#!/bin/sh

Xdialog --title "TAIL BOX" --tailbox /var/log/messages 24 64

if [ "$?" = 1 ] ; then
	echo "Cancel pressed !"
else
	echo "OK"
fi
