Show More
@@ -98,8 +98,8 b' def matchoutput(cmd, regexp, ignorestatu' | |||
|
98 | 98 | if e.errno != errno.ENOENT: |
|
99 | 99 | raise |
|
100 | 100 | ret = -1 |
|
101 | ret = p.wait() | |
|
102 | s = p.stdout.read() | |
|
101 | s = p.communicate()[0] | |
|
102 | ret = p.returncode | |
|
103 | 103 | return (ignorestatus or not ret) and r.search(s) |
|
104 | 104 | |
|
105 | 105 | @check("baz", "GNU Arch baz client") |
General Comments 0
You need to be logged in to leave comments.
Login now