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

[MODULES-8718] Check for root or sudo in the reboot task nix.sh script #203

Merged
merged 1 commit into from
Mar 13, 2019

Conversation

thilinapiy
Copy link
Contributor

Since reboot task is running shutdown command on a nohup, if its run as a normal user it will silently fail. This change will avoid that.

tasks/nix.sh Outdated Show resolved Hide resolved
tasks/nix.sh Outdated Show resolved Hide resolved
@glennsarti
Copy link
Contributor

Thanks @thilinapiy. I'll squash the commits for you today and then merge it for you!

Thanks again for your contribution!!

Since reboot task is running shutdown command on a nohup, if its run as a normal
user it will silently fail. This commit will avoid that this error.
@glennsarti
Copy link
Contributor

@thilinapiy I've squashed all the commits together and will merge once the tests go green!

@glennsarti glennsarti merged commit 3f6d7c5 into puppetlabs:master Mar 13, 2019
@glennsarti
Copy link
Contributor

AND MERGED!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants