mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 03:33:26 +00:00
Use EXIT pseudo-signal
This commit is contained in:
@@ -150,6 +150,6 @@ cleanup()
|
||||
exit 0
|
||||
}
|
||||
|
||||
trap cleanup EXIT SIGINT
|
||||
trap cleanup EXIT
|
||||
|
||||
while true; do read x; done
|
||||
|
Reference in New Issue
Block a user