From: Eric S. Raymond Date: Thu, 4 Oct 2012 10:24:09 +0000 (-0400) Subject: Remove confusion-causing messages. X-Git-Tag: 1.7~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5a42905ca01140d2d2276d4fcbb5bf90c84c1161;p=irker.git Remove confusion-causing messages. --- diff --git a/filter-test.py b/filter-test.py index b5aaf77..ae91127 100755 --- a/filter-test.py +++ b/filter-test.py @@ -24,10 +24,7 @@ ps = subprocess.Popen("ps -U %s uh" % os.getenv("LOGNAME"), data = ps.stdout.read() irkerd_count = len([x for x in data.split("\n") if x.find("irkerd") != -1]) -if irkerd_count: - print "Using running irkerd..." -else: - print "Launching new irkerd..." +if not irkerd_count: os.system("gnome-terminal --title 'irkerd' -e 'irkerd -d 2' &") time.sleep(0.1) # Avoid a race condition