Explorar o código

uhttpd: fix appending https ports to cmdline

Otherwise it is started only on non-secure ports.

Signed-off-by: Wojciech Dubowik <[email protected]>

SVN-Revision: 38171
Felix Fietkau %!s(int64=12) %!d(string=hai) anos
pai
achega
59c05778f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/network/services/uhttpd/files/uhttpd.init

+ 1 - 1
package/network/services/uhttpd/files/uhttpd.init

@@ -112,7 +112,7 @@ start_instance()
 			append_arg "$cfg" key  "-K"
 
 			for listen in $https; do
-				append UHTTPD_ARGS "-s $listen"
+				procd_append_param command -s "$listen"
 			done
 		}
 	}