fix: wait for background tasks before exit to prevent output overlap
This commit is contained in:
@@ -448,6 +448,8 @@ main() {
|
||||
load core.sh
|
||||
# create a reality config
|
||||
add reality
|
||||
# wait for background tasks (e.g., OpenRC service start)
|
||||
wait
|
||||
# remove tmp dir and exit.
|
||||
exit_and_del_tmpdir ok
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user