From 51cae701b65ce594e92bb75411d494afa0c1a639 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 17 May 2010 19:35:15 +0000 Subject: uhttpd: use uci_get() wrapper (#7312) SVN-Revision: 21492 --- package/uhttpd/files/uhttpd.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/uhttpd/files/uhttpd.init') 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" -- cgit v1.2.3