From ec282c7e96090f25bae4747e2e586af54bf49720 Mon Sep 17 00:00:00 2001 From: Gabe Date: Fri, 6 Jun 2014 06:55:23 -0600 Subject: ipautil.run args log message is confusing https://fedorahosted.org/freeipa/ticket/3724 Reviewed-By: Petr Viktorin --- ipapython/ipautil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipapython/ipautil.py') diff --git a/ipapython/ipautil.py b/ipapython/ipautil.py index ce4c97838..844dbb687 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) -- cgit