summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/utils/busybox/files/cron2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/busybox/files/cron b/package/utils/busybox/files/cron
index 8f54527805..19ecc43173 100755
--- a/package/utils/busybox/files/cron
+++ b/package/utils/busybox/files/cron
@@ -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