]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commit
Revert "wg-quick: wait on process substitutions"
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 27 Aug 2020 08:17:42 +0000 (10:17 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 27 Aug 2020 08:19:31 +0000 (10:19 +0200)
commit91fbeb4a926b8a75274d012a3994ef337dca51d9
treeb5738ff567d29c528690efa171fe52604bcd3be6
parent9a0d65e2afbd6e418c883e0de8555b4fac29f1d5
Revert "wg-quick: wait on process substitutions"

This reverts commit 26683f6c9ad18d9914b23312c221f27fd5ecab51, which
means the old problem comes back. That's an issue. But waiting on
process substitutions is not available with commonly used bash versions:

  # wg-quick up demo
  [#] ip link add demo type wireguard
  [#] wg setconf demo /dev/fd/63
  /usr/bin/wg-quick: line 251: wait: pid 2955 is not a child of this shell
  [#] ip link delete dev demo

This means we have to wait a few years before fixing this issue. IOW,
bash limitation; can't fix.

Reported-by: Theodore Mozzo <theodore.mozzo@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/wg-quick/darwin.bash
src/wg-quick/freebsd.bash
src/wg-quick/linux.bash
src/wg-quick/openbsd.bash