Maybe needs Rafał Miłecki <ra...@milecki.pl> approval?
=======
diff --git a/package/system/procd/files/procd.sh
b/package/system/procd/files/procd.sh
index 8ee25f4f08b47..9d936bb7e9778 100644
--- a/package/system/procd/files/procd.sh
+++ b/package/system/procd/files/procd.sh
@@ -601,7 +601,7 @@ procd_add_mdns_service() {
json_add_int port "$port"
[ -n "$1" ] && {
json_add_array txt
- for txt in "$@"; do json_add_string "" "$txt"; done
+ for txt in "$@"; do [ -n "$txt" ] && json_add_string "" "$txt";
done
json_select ..
}
json_select ..
=======
PR at https://github.com/openwrt/openwrt/pull/14597/
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel