aboutsummaryrefslogtreecommitdiffstats
path: root/package/uhttpd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:35:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:35:15 +0000
commit51cae701b65ce594e92bb75411d494afa0c1a639 (patch)
tree1ad0d8e32a357532b9e6177587a0b7f071edacb4 /package/uhttpd
parent47e443f91ba562bc3ca16805bacf2264639acf34 (diff)
downloadupstream-51cae701b65ce594e92bb75411d494afa0c1a639.tar.gz
upstream-51cae701b65ce594e92bb75411d494afa0c1a639.tar.bz2
upstream-51cae701b65ce594e92bb75411d494afa0c1a639.zip
uhttpd: use uci_get() wrapper (#7312)
SVN-Revision: 21492
Diffstat (limited to 'package/uhttpd')
-rwxr-xr-xpackage/uhttpd/files/uhttpd.init2
1 files changed, 1 insertions, 1 deletions
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"