aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfbt <fbt@fleshless.org>2018-07-27 20:21:26 +0300
committerfbt <fbt@fleshless.org>2018-07-27 20:21:26 +0300
commit5675a0801276591b32d5b392c716f00e0ccaf0bf (patch)
tree6c7315dc8dc333392e78189dd17eb003ecf21ed7
parent213c8e4ce2711ec3dce35a619e3e40ad24b28166 (diff)
downloadsx-open-5675a0801276591b32d5b392c716f00e0ccaf0bf.tar.gz
sx-open-5675a0801276591b32d5b392c716f00e0ccaf0bf.zip
exit here
Signed-off-by: fbt <fbt@fleshless.org>
-rwxr-xr-xsx-open4
1 files changed, 2 insertions, 2 deletions
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