mirror of
https://github.com/apple/container.git
synced 2026-09-12 18:55:43 +00:00
vminitd: sync(2) in server error path (#413)
This commit is contained in:
@@ -121,6 +121,11 @@ struct Application {
|
||||
#endif
|
||||
} catch {
|
||||
log.error("vminitd boot error \(error)")
|
||||
|
||||
#if os(Linux)
|
||||
Musl.sync()
|
||||
#endif
|
||||
|
||||
exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user