mirror of
https://github.com/233boy/sing-box.git
synced 2026-05-02 22:04:40 +08:00
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