mirror of https://github.com/containers/podman.git
libpod: remove error stutter
the error is already clear. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
519cfa81f6
commit
01fd5bcc30
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue