mirror of
https://github.com/amidaware/rmmagent.git
synced 2026-04-26 14:55:47 +03:00
[GH-ISSUE #8] Linux Agent: Reboot Required Logic Wrong #83
Labels
No labels
bug
bug
enhancement
fixed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rmmagent#83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eCloudJTuttle on GitHub (May 2, 2022).
Original GitHub issue: https://github.com/amidaware/rmmagent/issues/8
Originally assigned to: @wh1te909 on GitHub.
For all of our Linux servers, they all show "Reboot Required". Running the command on the machine "needs-restarting" returns code 0, so machine does not require a reboot.
The source code looks for the file needs-restarting and returns true if the file exists. If the file does exist, the command should be called, and if the return code is not zero, then it requires reboot.
@wh1te909 commented on GitHub (May 2, 2022):
thanks nice catch! I totally did forget to actually call the binary lol