fixme SUBERROR exit code
This commit is contained in:
@@ -30,6 +30,7 @@ function exit {
|
|||||||
|
|
||||||
function on_usr1 {
|
function on_usr1 {
|
||||||
cleanup
|
cleanup
|
||||||
|
# FIXME: get exit code from MIAOU_BASH_SUBERROR
|
||||||
builtin exit 1
|
builtin exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,10 +13,9 @@ function do_subshell_false {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function do_subshell_term {
|
function do_subshell_term {
|
||||||
# grep nope nope
|
echo "found1=$(command_not_found)"
|
||||||
echo "found=$(command_not_found)"
|
echo "found2=$(grep nope nope)"
|
||||||
echo "found=$(grep nope nope)"
|
echo SHOULD NOT SHOW UP!
|
||||||
command_not_found
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function do_last_false {
|
function do_last_false {
|
||||||
|
|||||||
Reference in New Issue
Block a user