busybox: fix processing of multiple NTP servers in the config (#15294)
[openwrt/openwrt.git] / package / utils / busybox / files / sysntpd
index add7762c7ff8c62337544201f1344a6273971b47..c5c3c8e59ab73d50ecc0fa159c59bfbfed282372 100755 (executable)
@@ -24,7 +24,7 @@ start_service() {
        procd_open_instance
        procd_set_param command "$PROG" -n
        [ "$enable_server" = "1" ] && procd_append_param command -l
-       for peer in "$server"; do
+       for peer in $server; do
                procd_append_param command -p $peer
        done
        procd_set_param respawn