diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py index 83652ca69b..fab19a5051 100644 --- a/salt/client/ssh/__init__.py +++ b/salt/client/ssh/__init__.py @@ -112,7 +112,7 @@ fi SUDO="" if [ -n "{{SUDO}}" ]; then - SUDO="sudo root -c" + SUDO="sudo " fi EX_PYTHON_OLD={EX_THIN_PYTHON_OLD} # Python interpreter is too old and incompatible