fix multiple instances of busybox httpd (thx, Yanira)
[openwrt/svn-archive/archive.git] / package / busybox / files / httpd
index f7e166d0ad06cbe31774ac82d4242e5457ca9cb4..3714a02de552b4d5e150ab659c4d4bdc61ead557 100755 (executable)
@@ -12,7 +12,7 @@ system_config() {
 
 httpd_config() {
        local cfg="$1"
 
 httpd_config() {
        local cfg="$1"
-       local c_file port realm home
+       local c_file port realm home args
 
        config_get c_file "$cfg" c_file
        [ -n "$c_file" -a -f "$c_file" ] && append args "-c \"$c_file\""
 
        config_get c_file "$cfg" c_file
        [ -n "$c_file" -a -f "$c_file" ] && append args "-c \"$c_file\""