From 01fd5bcc30ae15f4fc04d0f7daf2eeb8867eff57 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 10 Mar 2023 21:35:23 +0100 Subject: [PATCH] libpod: remove error stutter the error is already clear. Signed-off-by: Giuseppe Scrivano --- libpod/container_internal_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go index 6ca63f9e20..7988acdcd2 100644 --- a/libpod/container_internal_linux.go +++ b/libpod/container_internal_linux.go @@ -446,7 +446,7 @@ func (c *Container) addNetworkNamespace(g *generate.Generator) error { func (c *Container) addSystemdMounts(g *generate.Generator) error { if c.Systemd() { if err := c.setupSystemd(g.Mounts(), *g); err != nil { - return fmt.Errorf("adding systemd-specific mounts: %w", err) + return err } } return nil