diff --git a/Plugin/varaverk.plg b/Plugin/varaverk.plg index 541cc5f..a0712ca 100644 --- a/Plugin/varaverk.plg +++ b/Plugin/varaverk.plg @@ -145,7 +145,7 @@ if [[ ! -d "$SCRIPTS_DIR/.git" ]]; then while IFS= read -r peer_ip; do if ssh -i "$GITEA_SSH_KEY" -p "$SSH_PORT" \ -o ConnectTimeout=3 -o StrictHostKeyChecking=no \ - -o BatchMode=yes "git@${peer_ip}" info 2>/dev/null | grep -q "varaverk\|Gitea\|gitea"; then + -o BatchMode=yes "git@${peer_ip}" 2>/dev/null | grep -q "varaverk\|Gitea\|gitea"; then GITEA_IP="$peer_ip" log "Gitea found on Tailscale peer $GITEA_IP" break