diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-08-03 10:18:40 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-08-06 17:47:14 +0200 |
commit | 26683f6c9ad18d9914b23312c221f27fd5ecab51 (patch) | |
tree | 227e8e54141c29a967c61f2a01a4d464d8b2a17a /contrib/external-tests | |
parent | ctype: use non-locale-specific ctype.h (diff) | |
download | wireguard-tools-26683f6c9ad18d9914b23312c221f27fd5ecab51.tar.xz wireguard-tools-26683f6c9ad18d9914b23312c221f27fd5ecab51.zip |
wg-quick: wait on process substitutions
Bash does not propagate error values, which is a bummer, but process
substitutions are a useful feature. Introduce a new idiom to deal with
this: either "; wait $!" after the line to propagate the error, or "||
true" to indicate explicitly that we don't care about the error.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'contrib/external-tests')
0 files changed, 0 insertions, 0 deletions