summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-12-02 14:31:07 +0100
committerGitHub <noreply@github.com>2019-12-02 14:31:07 +0100
commitf2f8cbf1afcb2c26d11e5f82c0b523b2cb10205c (patch)
tree5a95da957db499d6654a3a1f8aee9575a44c9d82
parent53dfb30af324408c34fc7f664a05992e186ca4e9 (diff)
parent01b82ecaf32725dd67560d0fe61fdded1a6db795 (diff)
Merge pull request #9 from nyantec/feature/sudo
ssh: fix mistake with sudo on remote
-rw-r--r--pkgs/krops/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/krops/default.nix b/pkgs/krops/default.nix
index 2c12015..a3e7745 100644
--- a/pkgs/krops/default.nix
+++ b/pkgs/krops/default.nix
@@ -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)
];
};