ssh: fix mistake with sudo on remote

This commit is contained in:
Milan Pässler 2019-12-02 11:31:02 +01:00
parent 53dfb30af3
commit 01b82ecaf3
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ in
"-p" target.port
"-t"
target.host
(if target.sudo then command else "sudo ${command}")
(if target.sudo then "sudo ${command}" else command)
];
};