mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #26298 from vr-jack/2015.5
Keep $HOME from being interpretted by Master shell
This commit is contained in:
commit
cf0523a12e
1 changed files with 2 additions and 2 deletions
|
@ -926,10 +926,10 @@ ARGS = {9}\n'''.format(self.minion_config,
|
|||
pass
|
||||
|
||||
# Execute shim
|
||||
ret = self.shell.exec_cmd('/bin/sh $HOME/{0}'.format(target_shim_file))
|
||||
ret = self.shell.exec_cmd('/bin/sh \'$HOME/{0}\''.format(target_shim_file))
|
||||
|
||||
# Remove shim from target system
|
||||
self.shell.exec_cmd('rm $HOME/{0}'.format(target_shim_file))
|
||||
self.shell.exec_cmd('rm \'$HOME/{0}\''.format(target_shim_file))
|
||||
|
||||
return ret
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue