mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-08-07 16:50:47 +08:00
Add exit trap
This commit is contained in:
@@ -71,4 +71,6 @@ function main() {
|
||||
wait
|
||||
}
|
||||
|
||||
trap "trap - EXIT && kill 0 && wait && echo exit..." EXIT
|
||||
|
||||
main
|
||||
|
Reference in New Issue
Block a user