summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-09-03 11:49:48 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2009-09-03 11:49:48 -0300
commit9ffd3c6ea8b11e4e0e617ada351e60b314f7a149 (patch)
treeb14a66a2089c0a61bdec8d1b2a2b3e379be16d64
parentffdb94c386aebe8f548f525e498262f06c2f9751 (diff)
parent52fb608a5cfe89e0158d3c62a72cae523cd9e275 (diff)
downloadtuna-9ffd3c6ea8b11e4e0e617ada351e60b314f7a149.tar.gz
Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/acme/tuna
-rwxr-xr-xtuna-cmd.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tuna-cmd.py b/tuna-cmd.py
index 8e2f342..0fb3194 100755
--- a/tuna-cmd.py
+++ b/tuna-cmd.py
@@ -490,6 +490,10 @@ def main():
# gui packages not installed
usage()
return
+ except RuntimeError:
+ print "tuna: machine needs to be authorized via xhost or ssh -X?"
+ return
+
try:
cpus_filtered = filter and cpu_list or []
app = tuna_gui.main_gui(kthreads, uthreads, cpus_filtered)