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

fix: sudo suggest #941

Merged
merged 2 commits into from
Apr 11, 2024
Merged

fix: sudo suggest #941

merged 2 commits into from
Apr 11, 2024

Conversation

XavierChanth
Copy link
Member

- What I did

  • Added a few guard rails to make it clearer
  • Fixed some flows where device_type_input could be left unset

- How I did it

- How to verify it

- Description for the changelog

fix: sudo suggest

- suggest_sudo forces an exit and asks to rerun with sudo or with
--no-sudo flag
- check for cron / nohup in our headless mode
@XavierChanth XavierChanth merged commit a403ded into trunk Apr 11, 2024
7 checks passed
@cpswan
Copy link
Member

cpswan commented Apr 11, 2024

@XavierChanth too late for this one, but you might want to check over the logic map for command availability. E.g. can a tmux install succeed without cron? Should we check for cron or crontab?

@XavierChanth
Copy link
Member Author

@XavierChanth too late for this one, but you might want to check over the logic map for command availability. E.g. can a tmux install succeed without cron? Should we check for cron or crontab?

We should also check there, I was focused on making sure that our fallback option is covered.

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

Successfully merging this pull request may close these issues.

3 participants