@@ -172,7 +172,7 @@ func (r *Runc) Create(context context.Context, id, bundle string, opts *CreateOp
172
172
}
173
173
status , err := Monitor .Wait (cmd , ec )
174
174
if err == nil && status != 0 {
175
- err = fmt .Errorf ("%s did not terminate sucessfully " , cmd .Args [0 ])
175
+ err = fmt .Errorf ("%s did not terminate successfully " , cmd .Args [0 ])
176
176
}
177
177
return err
178
178
}
@@ -251,7 +251,7 @@ func (r *Runc) Exec(context context.Context, id string, spec specs.Process, opts
251
251
}
252
252
status , err := Monitor .Wait (cmd , ec )
253
253
if err == nil && status != 0 {
254
- err = fmt .Errorf ("%s did not terminate sucessfully " , cmd .Args [0 ])
254
+ err = fmt .Errorf ("%s did not terminate successfully " , cmd .Args [0 ])
255
255
}
256
256
return err
257
257
}
@@ -277,7 +277,7 @@ func (r *Runc) Run(context context.Context, id, bundle string, opts *CreateOpts)
277
277
}
278
278
status , err := Monitor .Wait (cmd , ec )
279
279
if err == nil && status != 0 {
280
- err = fmt .Errorf ("%s did not terminate sucessfully " , cmd .Args [0 ])
280
+ err = fmt .Errorf ("%s did not terminate successfully " , cmd .Args [0 ])
281
281
}
282
282
return status , err
283
283
}
@@ -576,7 +576,7 @@ func (r *Runc) Restore(context context.Context, id, bundle string, opts *Restore
576
576
}
577
577
status , err := Monitor .Wait (cmd , ec )
578
578
if err == nil && status != 0 {
579
- err = fmt .Errorf ("%s did not terminate sucessfully " , cmd .Args [0 ])
579
+ err = fmt .Errorf ("%s did not terminate successfully " , cmd .Args [0 ])
580
580
}
581
581
return status , err
582
582
}
@@ -682,7 +682,7 @@ func (r *Runc) runOrError(cmd *exec.Cmd) error {
682
682
}
683
683
status , err := Monitor .Wait (cmd , ec )
684
684
if err == nil && status != 0 {
685
- err = fmt .Errorf ("%s did not terminate sucessfully " , cmd .Args [0 ])
685
+ err = fmt .Errorf ("%s did not terminate successfully " , cmd .Args [0 ])
686
686
}
687
687
return err
688
688
}
@@ -708,7 +708,7 @@ func cmdOutput(cmd *exec.Cmd, combined bool) ([]byte, error) {
708
708
709
709
status , err := Monitor .Wait (cmd , ec )
710
710
if err == nil && status != 0 {
711
- err = fmt .Errorf ("%s did not terminate sucessfully " , cmd .Args [0 ])
711
+ err = fmt .Errorf ("%s did not terminate successfully " , cmd .Args [0 ])
712
712
}
713
713
714
714
return b .Bytes (), err
0 commit comments