daemon:containerStart() fix unhandled error for saveApparmorConfig
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 1250e42a43
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
9077436e6e
commit
e6ef2b0641
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ func (daemon *Daemon) containerStart(container *container.Container, checkpoint
|
|||
container.HasBeenManuallyStopped = false
|
||||
}
|
||||
|
||||
if daemon.saveApparmorConfig(container); err != nil {
|
||||
if err := daemon.saveApparmorConfig(container); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue