Verified Commit 6359657a authored by Adam Mercer's avatar Adam Mercer
Browse files

direct stderr to stdout

parent 5bbac695
......@@ -61,7 +61,7 @@ def parse_options():
def check_connection_to_koji():
try:
subprocess.check_call(['koji', 'moshimoshi'],
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
print('Authentication failed, do you have a valid kerberos ticket?')
sys.exit(1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment