uhttpd: fix appending https ports to cmdline
[openwrt.git] / package / network / services / uhttpd / files / uhttpd.init
index 51f7547..ce30483 100755 (executable)
@@ -112,7 +112,7 @@ start_instance()
                        append_arg "$cfg" key  "-K"
 
                        for listen in $https; do
                        append_arg "$cfg" key  "-K"
 
                        for listen in $https; do
-                               append UHTTPD_ARGS "-s $listen"
+                               procd_append_param command -s "$listen"
                        done
                }
        }
                        done
                }
        }