Skip to content

Commit

Permalink
Always return perfdata for startup_time even with -n
Browse files Browse the repository at this point in the history
  • Loading branch information
ggzengel authored Nov 10, 2023
1 parent 1d4593c commit 21e754a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_systemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1442,12 +1442,12 @@ def main():
tasks: typing.List[object] = [
UnitsResource(),
UnitsContext(),
StartupTimeResource(),
SystemdSummary(),
]

if opts.scope_startup_time:
tasks += [
StartupTimeResource(),
StartupTimeContext(),
]

Expand Down

0 comments on commit 21e754a

Please sign in to comment.