diff options
Diffstat (limited to 'install/certmonger')
-rw-r--r-- | install/certmonger/dogtag-ipa-retrieve-agent-submit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/install/certmonger/dogtag-ipa-retrieve-agent-submit b/install/certmonger/dogtag-ipa-retrieve-agent-submit index 3781fc5d0..70cbd82d7 100644 --- a/install/certmonger/dogtag-ipa-retrieve-agent-submit +++ b/install/certmonger/dogtag-ipa-retrieve-agent-submit @@ -23,6 +23,10 @@ # retrieve the updated certificate from IPA. import os +# Prevent garbage from readline on standard output +# (see https://fedorahosted.org/freeipa/ticket/4064) +if not os.isatty(1): + os.environ['TERM'] = 'dumb' import sys import shutil import tempfile |