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
1 changed files with 1 additions and 1 deletions

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())