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:
parent
8e7d633b73
commit
210f6ecfd9
2 changed files with 1 additions and 1 deletions
0
utils/rtty/files/rtty.config
Executable file → Normal file
0
utils/rtty/files/rtty.config
Executable file → Normal file
|
@ -20,7 +20,7 @@ start_rtty() {
|
|||
'ssl:bool:0' \
|
||||
'ping:uinteger:5'
|
||||
|
||||
[ $? -eq 1 ] && {
|
||||
[ $? -ne 0 ] && {
|
||||
echo "validation failed" >&2
|
||||
return 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue