Fixing typo in the comment for exit
Signed-off-by: rajasec <rajasec79@gmail.com>
This commit is contained in:
parent
2a6ae44f8e
commit
58e3cde8f3
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue