busybox: remove validation message from bootup
[openwrt/staging/chunkeey.git] / package / utils / busybox / files / cron
index 8f54527805ed44dd3048d98936617a5071eb038f..19ecc431735eb62025cca57061735ad9e4ac388f 100755 (executable)
@@ -17,7 +17,7 @@ start_service () {
        loglevel=$(uci_get "system.@system[0].cronloglevel")
 
        [ -z "${loglevel}" ] || {
-               /sbin/validate_data uinteger "${loglevel}"
+               /sbin/validate_data uinteger "${loglevel}" 2>/dev/null
                [ "$?" -eq 0 ] || {
                        echo "validation failed"
                        return 1