mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Merge pull request #3662 from vipulnewaskar7/3659-wrong-error-variable-fix
Fixed Init State Error Variable
This commit is contained in:
@@ -548,7 +548,7 @@ func (p *initProcess) start() (retErr error) {
|
||||
// procRun sync.
|
||||
state, uerr := p.container.updateState(p)
|
||||
if uerr != nil {
|
||||
return fmt.Errorf("unable to store init state: %w", err)
|
||||
return fmt.Errorf("unable to store init state: %w", uerr)
|
||||
}
|
||||
p.container.initProcessStartTime = state.InitProcessStartTime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user