Closed sslupsky closed 5 years ago
Closed?
Ah, I see the commit now. That looks like the correct way to tokenize the string.
Thanks for reporting, I always confuse this since I hop between bash and zsh, and shellcheck discourages the unquoted variant (which would work with bash).
I pushed https://github.com/mafredri/vyatta-wireguard-installer/commit/0a7260d5c9ca450a2c64fac9d72bda1f1e9903fe which fixes the issue. You should be able to run self-update
now 😄.
Thank you for this. I did the self-update and got the changes. Sweet :-)
There seems to be an issue that is causing an upgrade to fail. I receive the following error during ./wireguard.sh upgrade
wg version 0.0.20180802-1.
EdgeOS 1.10.5
Two interfaces wg0 and wg1
This line: https://github.com/mafredri/vyatta-wireguard-installer/blob/5619a9078f27b83f9a55fb47440e6e96e6766014/wireguard.sh#L56
returns interfaces:
wg0 wg1
This line: https://github.com/mafredri/vyatta-wireguard-installer/blob/5619a9078f27b83f9a55fb47440e6e96e6766014/wireguard.sh#L62
shows both interfaces in the output as follows:
Disabling wg0 wg1...
The expected output should be:
so it appears to me that the list of interfaces has not been tokenized?