diff options
Diffstat (limited to 'cdist/exec/remote.py')
-rw-r--r-- | cdist/exec/remote.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cdist/exec/remote.py b/cdist/exec/remote.py index 9e3e279..df8d454 100644 --- a/cdist/exec/remote.py +++ b/cdist/exec/remote.py @@ -263,6 +263,7 @@ class Remote(object): # /bin/csh will execute this script in the right way. if env: remote_env = [" export %s=%s;" % item for item in env.items()] + remote_env += [" export PATH=/bin:/usr/bin:/sbin:/usr/sbin;"] string_cmd = ("/bin/sh -c '" + " ".join(remote_env) + " ".join(command) + "'") cmd.append(string_cmd) |