fix return 0 show error_box

This commit is contained in:
pvincent
2026-08-07 18:49:40 +04:00
parent 5e283e63dd
commit 3f56f022e4
7 changed files with 67 additions and 8 deletions
+9
View File
@@ -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'