1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-26 21:19:47 +01:00

Merge pull request #9 from nyantec/feature/sudo

ssh: fix mistake with sudo on remote
This commit is contained in:
tv 2019-12-02 14:31:07 +01:00 committed by GitHub
commit f2f8cbf1af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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