return instead of exit

This commit is contained in:
pvincent
2026-08-24 16:40:13 +04:00
parent 226605d298
commit 49d44f8c07
+2 -2
View File
@@ -52,8 +52,8 @@ function execute_miaou_lib {
} }
function assert_bash { function assert_bash {
if [[ $SHELL != bash ]]; then if [[ $SHELL != 'bin/bash' ]]; then
>&2 echo "you are running on SHELL=$SHELL. Bash expected!" >&2 echo "you are running on SHELL=$SHELL. 'bin/bash' expected!"
return 11 return 11
fi fi
} }