Skip to content

Commit fc8c25d

Browse files
committed
fix typo in conf check
1 parent e31b5dd commit fc8c25d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
257257

258258
## Versions
259259

260+
* **20.04.20:** - Fix typo in client mode conf existence check.
260261
* **13.04.20:** - Fix bug that forced conf recreation on every start.
261262
* **08.04.20:** - Add arm32/64 builds and enable multi-arch (rpi4 with ubuntu and raspbian buster tested). Add CoreDNS for `PEERDNS=auto` setting. Update the `add-peer`/`show-peer` scripts to utilize the templates and the `INTERNAL_SUBNET` var (previously missed, oops).
262263
* **05.04.20:** - Add `INTERNAL_SUBNET` variable to prevent subnet clashes. Add templates for server and peer confs.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ app_setup_block: |
7878
7979
# changelog
8080
changelogs:
81+
- { date: "20.04.20:", desc: "Fix typo in client mode conf existence check." }
8182
- { date: "13.04.20:", desc: "Fix bug that forced conf recreation on every start." }
8283
- { date: "08.04.20:", desc: "Add arm32/64 builds and enable multi-arch (rpi4 with ubuntu and raspbian buster tested). Add CoreDNS for `PEERDNS=auto` setting. Update the `add-peer`/`show-peer` scripts to utilize the templates and the `INTERNAL_SUBNET` var (previously missed, oops)." }
8384
- { date: "05.04.20:", desc: "Add `INTERNAL_SUBNET` variable to prevent subnet clashes. Add templates for server and peer confs." }

root/etc/cont-init.d/30-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ if [ -n "$PEERS" ]; then
160160
fi
161161
else
162162
echo "Client mode selected."
163-
if [ !-f /config/wg0.conf ]; then
163+
if [ ! -f /config/wg0.conf ]; then
164164
"No client conf found. Provide your own client conf as \"/config/wg0.conf\" and restart the container."
165165
sleep infinity
166166
fi

0 commit comments

Comments
 (0)