From ec282c7e96090f25bae4747e2e586af54bf49720 Mon Sep 17 00:00:00 2001 From: Gabe Date: Jun 09 2014 14:27:41 +0000 Subject: ipautil.run args log message is confusing https://fedorahosted.org/freeipa/ticket/3724 Reviewed-By: Petr Viktorin --- diff --git a/ipapython/ipautil.py b/ipapython/ipautil.py index ce4c978..844dbb6 100644 --- a/ipapython/ipautil.py +++ b/ipapython/ipautil.py @@ -301,7 +301,7 @@ def run(args, stdin=None, raiseonerr=True, p_out = subprocess.PIPE p_err = subprocess.PIPE - arg_string = nolog_replace(' '.join(args), nolog) + arg_string = nolog_replace(' '.join(shell_quote(a) for a in args), nolog) root_logger.debug('Starting external process') root_logger.debug('args=%s' % arg_string)