Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Agent: Reboot Required Logic Wrong #8

Closed
eCloudJTuttle opened this issue May 2, 2022 · 1 comment
Closed

Linux Agent: Reboot Required Logic Wrong #8

eCloudJTuttle opened this issue May 2, 2022 · 1 comment
Assignees
Labels
bug Something isn't working fixed

Comments

@eCloudJTuttle
Copy link

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
Copy link
Member

wh1te909 commented May 2, 2022

thanks nice catch! I totally did forget to actually call the binary lol

@wh1te909 wh1te909 self-assigned this May 2, 2022
@wh1te909 wh1te909 added the bug Something isn't working label May 2, 2022
@wh1te909 wh1te909 added the fixed label May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants