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