Permalink
Browse files

Fixes error status output and removes extra space.

  • Loading branch information...
1 parent 3fa05a5 commit ee5c1a30872135ade8f1237d6b84977e5bf27691 Daniel Benamy committed Dec 2, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 varnish.py
View
@@ -40,7 +40,7 @@
result = subprocess.Popen(['varnishstat', '-1'], stdout=subprocess.PIPE).communicate()[0]
if not result:
- print 'status error Varnish is not running.'
+ print 'status err Varnish is not running.'
sys.exit()
data = []
@@ -86,5 +86,5 @@
print 'status ok Varnish is running.'
-for d in data:
+for d in data:
print d

0 comments on commit ee5c1a3

Please sign in to comment.