diff --git a/bin/miaou-bash b/bin/miaou-bash index cdbbf94..4288434 100755 --- a/bin/miaou-bash +++ b/bin/miaou-bash @@ -30,6 +30,7 @@ function exit { function on_usr1 { cleanup + # FIXME: get exit code from MIAOU_BASH_SUBERROR builtin exit 1 } diff --git a/test/stub/scenario.bash b/test/stub/scenario.bash index 0ecda1b..877182f 100755 --- a/test/stub/scenario.bash +++ b/test/stub/scenario.bash @@ -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 {