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 <lukas.mrtvy@gmail.com>
  • Loading branch information
lukasmrtvy authored and dswarbrick committed Oct 21, 2024
1 parent 21ba810 commit e92574d
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 @@ -111,7 +111,7 @@ def _write_cache_timestamps(registry):
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 e92574d

Please sign in to comment.