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

Add a -E option, preserving all environment variables #204

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tsimonq2
Copy link
Member

This functions almost identically to sudo -E. I wrote this patch in an attempt to get the Lubuntu release out, but after some testing it does work as intended.

This functions almost identically to `sudo -E`
@palinek
Copy link
Contributor

palinek commented Oct 12, 2023

I disagree with this PR.

  1. You are changing the default behavior in backward incompatible manner here.
  2. The switch to (not) preserving environment variables can't be supported with all backends, so we should not expose it.

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.

2 participants