Sfoglia il codice sorgente

busybox: fix validation in sysntpd init script

Signed-off-by: Luka Perkov <[email protected]>

SVN-Revision: 41415
Luka Perkov 11 anni fa
parent
commit
9dd205b2ad
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      package/utils/busybox/files/sysntpd

+ 1 - 0
package/utils/busybox/files/sysntpd

@@ -9,6 +9,7 @@ PROG=/usr/sbin/ntpd
 validate_ntp_section() {
 	uci_validate_section system timeserver "${1}" \
 		'server:list(host)' 'enabled:bool:1' 'enable_server:bool:0'
+	return $?
 }
 
 start_service() {