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