More readable warning for X-server errors.

This commit is contained in:
Kolan Sh 2012-05-18 00:56:48 +04:00
parent 24badcb2fb
commit b367e25435
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ FIFO_FILE=/tmp/.snail.fifo
snail.vglrun -d :8293 "$@" 2>/dev/null \
&& echo "Application $@ was performed on nVidia ;-)" && exit 0
echo "Snail-daemon said that it has powered on nVidia but $@ fails to run for some reason ;-("
echo "Here is nVidia X-server error log:" ; grep '] (EE) ' /var/log/Xorg.8293.log
echo "nvrun $@ returns an error. Here is nVidia X-server error log:"
grep '] (EE) ' /var/log/Xorg.8293.log
else
echo "Timout received for 'power on' request to Snail-daemon ;-("