fixme SUBERROR exit code

This commit is contained in:
pvincent
2026-07-21 17:42:31 +04:00
parent 1955ae5b23
commit f62023bb31
2 changed files with 4 additions and 4 deletions
+1
View File
@@ -30,6 +30,7 @@ function exit {
function on_usr1 {
cleanup
# FIXME: get exit code from MIAOU_BASH_SUBERROR
builtin exit 1
}
+3 -4
View File
@@ -13,10 +13,9 @@ function do_subshell_false {
}
function do_subshell_term {
# grep nope nope
echo "found=$(command_not_found)"
echo "found=$(grep nope nope)"
command_not_found
echo "found1=$(command_not_found)"
echo "found2=$(grep nope nope)"
echo SHOULD NOT SHOW UP!
}
function do_last_false {