1
0
mirror of https://github.com/opencontainers/runc.git synced 2025-08-08 12:42:06 +03:00

Fixing typo in the comment for exit

Signed-off-by: rajasec <rajasec79@gmail.com>
This commit is contained in:
rajasec
2015-10-22 19:08:03 +05:30
parent 2a6ae44f8e
commit 58e3cde8f3

View File

@@ -36,7 +36,7 @@ func ResolveRootfs(uncleanRootfs string) (string, error) {
}
// ExitStatus returns the correct exit status for a process based on if it
// was signaled or existed cleanly.
// was signaled or exited cleanly.
func ExitStatus(status syscall.WaitStatus) int {
if status.Signaled() {
return exitSignalOffset + int(status.Signal())