1
0
mirror of https://cgit.krebsco.de/krops synced 2024-06-02 14:13:31 +02: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)
];
};