Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Adrian Ho <ml+wireguard@03s.net>
To: wireguard@lists.zx2c4.com
Subject: Re: Best practices for adding hosts
Date: Fri, 25 Dec 2020 14:43:48 +0800	[thread overview]
Message-ID: <de4d8653-0fa5-97ba-0f08-8f675c2e12aa@03s.net> (raw)
In-Reply-To: <CAF-5T9GDLTTrcgmGcT=YaLbUmEHSmNyE6_X6Xcvof3bcc6HXEg@mail.gmail.com>

On 21/12/20 8:51 am, Ronan Lucio wrote:
> I tried executing it manually and got this:
>
>      $ sudo wg syncconf wg0 <(exec /usr/bin/wg-quick strip wg0)>
>      -bash: syntax error near unexpected token `newline'

Your command:

sudo wg syncconf wg0 <(exec /usr/bin/wg-quick strip wg0)>

has an output redirection character ('>') at the end, so bash was 
expecting a filename after that, but got a newline instead.

Best Regards,
Adrian


      parent reply	other threads:[~2020-12-25 14:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-20 23:09 Ronan Lucio
2020-12-21  0:24 ` Reto
     [not found] ` <9B2F58B7-92A3-425E-9B28-DF715B5B5503@tomcsanyi.net>
2020-12-21  0:51   ` Ronan Lucio
     [not found]     ` <K12715-4.1608513012@spamhaus.org>
2020-12-21  1:55       ` Ronan Lucio
2020-12-25  6:43     ` Adrian Ho [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de4d8653-0fa5-97ba-0f08-8f675c2e12aa@03s.net \
    --to=ml+wireguard@03s.net \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).