From f3eb0254ccf1603a2dcacd138f06dac2145a72e4 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 16 Aug 2021 12:37:11 +0200 Subject: [PATCH] missing if --- zen/ipfs_P2P_forward.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zen/ipfs_P2P_forward.sh b/zen/ipfs_P2P_forward.sh index e9b532a..3a94312 100755 --- a/zen/ipfs_P2P_forward.sh +++ b/zen/ipfs_P2P_forward.sh @@ -54,7 +54,7 @@ fi # Every Station publish SSH port "/x/ssh-$zuid" zuid="$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid)" -[[ $zuidĀ ]]; then +if [[ $zuidĀ ]]; then if [[ ! $(cat ~/.ssh/authorized_keys | grep "fred@ONELOVE") ]] then # ADD fred@ONELOVE to ~/.ssh/authorized_keys