diff --git a/sx-open b/sx-open index 6647981..c0424b7 100755 --- a/sx-open +++ b/sx-open @@ -48,7 +48,7 @@ cfg() { (true|false|0|1) true;; (*) error "On line $LINENO, in $FUNCNAME: Invalid value for '$s_name' type 'bool': '$2'" - return 11 + exit 111 ;; esac } @@ -68,7 +68,7 @@ cfg() { else [[ -n $_s ]] || { error "On line $LINENO, in $FUNCNAME: invalid option: '$s_name'" - return 13 + exit 113 } case $_s_type in