Skip to content

Commit

Permalink
Merge pull request #56 from tonistiigi/typo-fix
Browse files Browse the repository at this point in the history
fix typo in successfully
  • Loading branch information
crosbymichael committed Sep 23, 2019
2 parents e029b79 + 925bf84 commit a2952bc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions runc.go
Expand Up @@ -172,7 +172,7 @@ func (r *Runc) Create(context context.Context, id, bundle string, opts *CreateOp
}
status, err := Monitor.Wait(cmd, ec)
if err == nil && status != 0 {
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
}
return err
}
Expand Down Expand Up @@ -251,7 +251,7 @@ func (r *Runc) Exec(context context.Context, id string, spec specs.Process, opts
}
status, err := Monitor.Wait(cmd, ec)
if err == nil && status != 0 {
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
}
return err
}
Expand All @@ -277,7 +277,7 @@ func (r *Runc) Run(context context.Context, id, bundle string, opts *CreateOpts)
}
status, err := Monitor.Wait(cmd, ec)
if err == nil && status != 0 {
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
}
return status, err
}
Expand Down Expand Up @@ -576,7 +576,7 @@ func (r *Runc) Restore(context context.Context, id, bundle string, opts *Restore
}
status, err := Monitor.Wait(cmd, ec)
if err == nil && status != 0 {
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
}
return status, err
}
Expand Down Expand Up @@ -682,7 +682,7 @@ func (r *Runc) runOrError(cmd *exec.Cmd) error {
}
status, err := Monitor.Wait(cmd, ec)
if err == nil && status != 0 {
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
}
return err
}
Expand All @@ -708,7 +708,7 @@ func cmdOutput(cmd *exec.Cmd, combined bool) ([]byte, error) {

status, err := Monitor.Wait(cmd, ec)
if err == nil && status != 0 {
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
}

return b.Bytes(), err
Expand Down

0 comments on commit a2952bc

Please sign in to comment.