fatal prints the error's details if it is a libcontainer specific error type then exits the program with an exit status of 1.
(err error)
| 54 | // fatal prints the error's details if it is a libcontainer specific error type |
| 55 | // then exits the program with an exit status of 1. |
| 56 | func fatal(err error) { |
| 57 | fatalWithCode(err, 1) |
| 58 | } |
| 59 | |
| 60 | func fatalWithCode(err error, ret int) { |
| 61 | // Make sure the error is written to the logger. |
no test coverage detected
searching dependent graphs…