Merge pull request #358 from rajasec/exit-typo
Fixing typo in the comment for exit
This commit is contained in:
commit
bed70ca579
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue