Merge pull request #358 from rajasec/exit-typo

Fixing typo in the comment for exit
This commit is contained in:
Mrunal Patel 2015-10-23 11:12:17 -07:00
commit bed70ca579
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 // 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 { func ExitStatus(status syscall.WaitStatus) int {
if status.Signaled() { if status.Signaled() {
return exitSignalOffset + int(status.Signal()) return exitSignalOffset + int(status.Signal())