summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/logf/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-08-04 20:06:08 +0200
committertv <tv@krebsco.de>2016-08-04 20:06:08 +0200
commit1e3dcaee3cf5b9f31e1e4510ab621629e249c434 (patch)
tree59f8ece695d1698e9931669cfd4704eb343c17d5 /krebs/5pkgs/logf/default.nix
parentff42f5198f431b88e986349ecf01d341fa26661a (diff)
logf: reduce redundant syntax
Diffstat (limited to 'krebs/5pkgs/logf/default.nix')
-rw-r--r--krebs/5pkgs/logf/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/krebs/5pkgs/logf/default.nix b/krebs/5pkgs/logf/default.nix
index 246e4d954..54b8a1877 100644
--- a/krebs/5pkgs/logf/default.nix
+++ b/krebs/5pkgs/logf/default.nix
@@ -23,9 +23,9 @@ pkgs.writeDashBin "logf" ''
LOGF_PRIO_COLORS=$(cat "''${LOGF_PRIO_COLORS-${default-prio-colors}}")
printf '%s\0' "$@" \
| ${pkgs.findutils}/bin/xargs -0 -P 0 -n 1 ${pkgs.writeDash "logf-remote" ''
- target=$1 \
- target_host=$(echo "$1" | sed 's/^.*@//;s/\..*//') \
- exec 3>&1;
+ target=$1
+ target_host=$(echo "$1" | sed 's/^.*@//;s/\..*//')
+ exec 3>&1
2>&1 1>&3 ssh "$target" -T \
-o PreferredAuthentications=publickey \
-o StrictHostKeyChecking=yes \