[package] uhttpd: use uci_get() wrapper (#7312)
[openwrt.git] / package / uhttpd / files / uhttpd.init
index 14f8fc4..58f980c 100755 (executable)
@@ -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"
This page took 0.02236 seconds and 4 git commands to generate.