fix multiple instances of busybox httpd (thx, Yanira)
authorFelix Fietkau <nbd@openwrt.org>
Tue, 23 Sep 2008 15:24:02 +0000 (15:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 23 Sep 2008 15:24:02 +0000 (15:24 +0000)
SVN-Revision: 12663

package/busybox/files/httpd

index f7e166d0ad06cbe31774ac82d4242e5457ca9cb4..3714a02de552b4d5e150ab659c4d4bdc61ead557 100755 (executable)
@@ -12,7 +12,7 @@ system_config() {
 
 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\""