mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
run_http_host_sync
This commit is contained in:
@@ -72,7 +72,7 @@ def append_str(c, remote_path, str_):
|
||||
c.sudo(f'rm -f {tmp_path}')
|
||||
|
||||
|
||||
def sudo_cmd(c, cmd, user=None):
|
||||
def sudo_cmd(c, cmd, *, user=None):
|
||||
cmd = cmd.replace('"', '\\"')
|
||||
c.sudo(f'bash -c "{cmd}"', user=user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user