exit here
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
213c8e4ce2
commit
5675a08012
4
sx-open
4
sx-open
|
@ -48,7 +48,7 @@ cfg() {
|
||||||
(true|false|0|1) true;;
|
(true|false|0|1) true;;
|
||||||
(*)
|
(*)
|
||||||
error "On line $LINENO, in $FUNCNAME: Invalid value for '$s_name' type 'bool': '$2'"
|
error "On line $LINENO, in $FUNCNAME: Invalid value for '$s_name' type 'bool': '$2'"
|
||||||
return 11
|
exit 111
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@ cfg() {
|
||||||
else
|
else
|
||||||
[[ -n $_s ]] || {
|
[[ -n $_s ]] || {
|
||||||
error "On line $LINENO, in $FUNCNAME: invalid option: '$s_name'"
|
error "On line $LINENO, in $FUNCNAME: invalid option: '$s_name'"
|
||||||
return 13
|
exit 113
|
||||||
}
|
}
|
||||||
|
|
||||||
case $_s_type in
|
case $_s_type in
|
||||||
|
|
Loading…
Reference in New Issue
Block a user