1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-23 03:29:48 +01:00

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

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)
];
};