fix return 0 show error_box
This commit is contained in:
@@ -58,6 +58,15 @@ function do_return {
|
||||
should_return
|
||||
}
|
||||
|
||||
function do_return_conditional {
|
||||
if call_function_which_will_return; then
|
||||
echo SHOULD NOT APPEAR
|
||||
else
|
||||
echo return is: $?
|
||||
fi
|
||||
echo SUCCESS
|
||||
}
|
||||
|
||||
function do_unbound_associative {
|
||||
declare -A associative
|
||||
associative['A']='Abc'
|
||||
|
||||
Reference in New Issue
Block a user