aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Pässler <me@pbb.lc>2019-12-02 11:31:02 +0100
committerMilan Pässler <me@pbb.lc>2019-12-02 11:31:02 +0100
commit01b82ecaf32725dd67560d0fe61fdded1a6db795 (patch)
tree5a95da957db499d6654a3a1f8aee9575a44c9d82
parent53dfb30af324408c34fc7f664a05992e186ca4e9 (diff)
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)
];
};