mirror of
https://github.com/apple/container.git
synced 2026-11-10 16:09:11 +00:00
vminitd: sync(2) in server error path (#413)
This commit is contained in:
1 parent
85a3544750
commit
747ea996c8
1 file changed
+5
@@ -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