From b367e25435cf74772824c87cfd842b59ade12e7e Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 18 May 2012 00:56:48 +0400 Subject: [PATCH] More readable warning for X-server errors. --- bin/nvrun | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/nvrun b/bin/nvrun index 9f5cb19..da826cc 100755 --- a/bin/nvrun +++ b/bin/nvrun @@ -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 ;-("