wg-installer: fix get_usage function
authorNick Hainke <vincent@systemli.org>
Sat, 13 Mar 2021 19:16:45 +0000 (20:16 +0100)
committerPolynomdivision <vincent@systemli.org>
Sat, 13 Mar 2021 20:21:20 +0000 (21:21 +0100)
commitf7cb8b20e118834f9a6c5be298737829f90ea68b
tree42a48cb057990f63adf344ba35934311032484ff
parentc8f577ca4ae16aa77d48326ee662f8a3a0219237
wg-installer: fix get_usage function

The get_usage function always returns 0. The shell syntax was wrong.

Signed-off-by: Nick Hainke <vincent@systemli.org>
net/wg-installer/wg-server/lib/wg_functions.sh