return instead of exit
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ function execute_miaou_lib {
|
|||||||
function assert_bash {
|
function assert_bash {
|
||||||
if [[ $SHELL != bash ]]; then
|
if [[ $SHELL != bash ]]; then
|
||||||
>&2 echo "you are running on SHELL=$SHELL. Bash expected!"
|
>&2 echo "you are running on SHELL=$SHELL. Bash expected!"
|
||||||
exit 98
|
return 98
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user