Skip to content

Commit

Permalink
goello
Browse files Browse the repository at this point in the history
  • Loading branch information
dubo-dubon-duponey committed Mar 13, 2024
1 parent 9ee7a88 commit 8938a56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions context/runtime/boot/mdns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mdns::records::add(){
local host="$2"
local name="${3:-$host}"
local port="${4:-9}"
local text="${5:-[\"\"]}" # XXX Goello bug - if [] the announce if not visible
local text="${5:-[\"\"]}" # XXX Goello bug - if [] the announce is not visible
_internal_mod_mdns_records+=("$(printf '{"Type": "%s", "Host": "%s", "Name": "%s", "Port": %s, "Text": %s}' "$type" "$host" "$name" "$port" "$text")")
}

Expand Down Expand Up @@ -54,7 +54,7 @@ mdns::start::avahi(){
local avahisocket="$XDG_STATE_HOME/avahi-daemon/socket"

# Make sure we can write it
helpers::dir::writable "$(dirname "$avahisocket")"
helpers::dir::writable "$(dirname "$avahisocket")" true

# Cleanup leftovers on container restart
rm -f "$(dirname "$avahisocket")/pid"
Expand Down

0 comments on commit 8938a56

Please sign in to comment.