I want it not print hello2,but for now it print, how could I do,not I want if exit 8 then exit to the whole shell, and don't want to move "exit" from the {}
#!/bin/sh
start_test()
{
{
echo "hello1"
exit 8
} |tee -a qqq
echo hello2
}
start_test