return instead of exit
This commit is contained in:
+2
-2
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user