Skip to content

Commit

Permalink
fix proxy run to support single and double quotes
Browse files Browse the repository at this point in the history
Signed-off-by: endika <[email protected]>
  • Loading branch information
endikap100 committed Feb 23, 2022
1 parent a7c5b6a commit 091dd4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charms/osm/sshproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def run(self, cmd: str) -> (str, str):
expect it not to.
"""
if isinstance(cmd, str):
cmd = shlex.split(cmd)
cmd = shlex.split(cmd, posix=False)

host = self._get_hostname()
user = self.username
Expand Down

0 comments on commit 091dd4f

Please sign in to comment.