From 1250e42a43e5c2dd3efbcbc20c7fa3804c3dc3fb Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 29 Aug 2019 20:28:58 +0200 Subject: [PATCH] daemon:containerStart() fix unhandled error for saveApparmorConfig Signed-off-by: Sebastiaan van Stijn --- daemon/start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/start.go b/daemon/start.go index 57a7267b7c..adc253d6e2 100644 --- a/daemon/start.go +++ b/daemon/start.go @@ -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 }