diff --git a/utils/rtty/files/rtty.config b/utils/rtty/files/rtty.config old mode 100755 new mode 100644 diff --git a/utils/rtty/files/rtty.init b/utils/rtty/files/rtty.init index 1c7c6e44d..f5c2231a3 100644 --- a/utils/rtty/files/rtty.init +++ b/utils/rtty/files/rtty.init @@ -20,7 +20,7 @@ start_rtty() { 'ssl:bool:0' \ 'ping:uinteger:5' - [ $? -eq 1 ] && { + [ $? -ne 0 ] && { echo "validation failed" >&2 return 1 }