missing if

This commit is contained in:
fred 2021-08-16 12:37:11 +02:00
parent b6f4e73fa3
commit f3eb0254cc
1 changed files with 1 additions and 1 deletions

View File

@ -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