Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho committed Jan 3, 2025
1 parent 8918937 commit 389f18d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/systemd/component_output.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ func CreateGet(cfg Config) query.GetFunc {
ccancel()
}
if defaultConn == nil || err != nil {
log.Logger.Warnw("failed to check active status", "unit", unit, "error", err)
active, err = systemd.IsActive(unit)
if err != nil {
return nil, fmt.Errorf("failed to check active status for unit %q: %w", unit, err)
Expand Down

0 comments on commit 389f18d

Please sign in to comment.