Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Chorlton <[email protected]>
  • Loading branch information
jchorl committed Sep 18, 2024
1 parent 428ffe9 commit 8ac0138
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cgroup2/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,7 @@ func startUnit(conn *systemdDbus.Conn, group string, properties []systemdDbus.Pr
return fmt.Errorf("error creating systemd unit `%s`: got `%s`", group, s)
}
case <-time.After(systemdStartUnitTimeout):
attemptFailedUnitReset(conn, group)
return fmt.Errorf("Timed out while waiting for StartTransientUnit(%s) completion signal from dbus after %v", group, systemdStartUnitTimeout)
}

Expand Down

0 comments on commit 8ac0138

Please sign in to comment.