Skip to content
Snippets Groups Projects
Commit f7cb8b20 authored by Nick Hainke's avatar Nick Hainke Committed by Polynomdivision
Browse files

wg-installer: fix get_usage function


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

Signed-off-by: default avatarNick Hainke <vincent@systemli.org>
parent c8f577ca
No related branches found
No related tags found
1 merge request!13Uplift of packages using two step method. Use commits specified by feeds.conf.default from main repo.
......@@ -2,7 +2,7 @@
. /usr/share/wginstaller/wg.sh
wg_get_usage () {
num_interfaces = $(wg show interfaces | wc -w)
num_interfaces=$(wg show interfaces | wc -w)
json_init
json_add_int "num_interfaces" $num_interfaces
echo $(json_dump)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment