Skip to content

Commit

Permalink
return err back
Browse files Browse the repository at this point in the history
Signed-off-by: dsxing <xingdashuaostar@126.com>
  • Loading branch information
dsxing committed Oct 24, 2023
1 parent 4ca587f commit 4e4d98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/cgroups/systemd/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func stopUnit(cm *dbusConnManager, unitName string) error {
// In case of a failed unit, let systemd remove it.
_ = resetFailedUnit(cm, unitName)

return nil
return err
}

func resetFailedUnit(cm *dbusConnManager, name string) error {
Expand Down

0 comments on commit 4e4d98c

Please sign in to comment.