Skip to content

Commit

Permalink
🚑 Fix unexpected non-flag arguments to tailscale (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jun 12, 2022
1 parent 3798df1 commit 32b8c35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tailscale/rootfs/etc/services.d/tailscaled/post
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ done
# Wait for the network to be available and logged in
while true;
do
if /opt/tailscale status --json --peers false --self false \
if /opt/tailscale status --json --peers=false --self=false \
| jq --exit-status '.BackendState == "Running" or .BackendState == "NeedsLogin"';
then
IFS=","
/opt/tailscale up \
--hostname "$(bashio::info.hostname)" \
--advertise-exit-node \
--accept-routes \
--advertise-routes "${routes[*]}" \
--advertise-routes="${routes[*]}" \
--advertise-tags="${tags}"

bashio::exit.ok
Expand Down

0 comments on commit 32b8c35

Please sign in to comment.