Skip to content

Commit

Permalink
Update apt_info.py
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas M <[email protected]>
  • Loading branch information
lukasmrtvy authored Jul 31, 2023
1 parent f5ba1d9 commit 7aaf517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apt_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _write_autoremove_pending(registry, cache):
def _write_reboot_required(registry):
g = Gauge('node_reboot_required', "Node reboot is required for software updates.",
registry=registry)
g.set(int(os.path.isfile(os.path.join(hostPrefix,'/run/reboot-required'))))
g.set(int(os.path.isfile(os.path.join(hostPrefix,'run/reboot-required'))))


def _main():
Expand Down

0 comments on commit 7aaf517

Please sign in to comment.