From: Jo-Philipp Wich Date: Mon, 17 May 2010 19:35:15 +0000 (+0000) Subject: uhttpd: use uci_get() wrapper (#7312) X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=51cae701b65ce594e92bb75411d494afa0c1a639;p=openwrt%2Fstaging%2Fyousong.git uhttpd: use uci_get() wrapper (#7312) SVN-Revision: 21492 --- diff --git a/package/uhttpd/files/uhttpd.init b/package/uhttpd/files/uhttpd.init index 14f8fc4c46..58f980c42f 100755 --- a/package/uhttpd/files/uhttpd.init +++ b/package/uhttpd/files/uhttpd.init @@ -48,7 +48,7 @@ start_instance() UHTTPD_KEY="" local cfg="$1" - local realm="$(uci get system.@system[0].hostname 2>/dev/null)" + local realm="$(uci_get system.@system[0].hostname)" local listen http https append_arg "$cfg" home "-h"