mirror of
https://github.com/openwrt/packages.git
synced 2026-11-01 02:08:51 +04:00
rtty: Fix the bug of startup script
Not correctly judging whether uci_validate_section is successful Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
1 parent
8e7d633b73
commit
210f6ecfd9
2 files changed
+1
-1
No files matched your search
Executable → Regular
File mode changed.
@@ -20,7 +20,7 @@ start_rtty() {
|
||||
'ssl:bool:0' \
|
||||
'ping:uinteger:5'
|
||||
|
||||
[ $? -eq 1 ] && {
|
||||
[ $? -ne 0 ] && {
|
||||
echo "validation failed" >&2
|
||||
return 1
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user