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

Allow removing uninitialized mounts #1748

Merged
merged 1 commit into from Jan 22, 2021

Conversation

dominikschulz
Copy link
Member

Previously we were overly finicky when removing mounts.
If a mount isn't mounted or initialized we shouldn't care.
If it's in the config remove it, if not don't.

Fixes #1746

Signed-off-by: Dominik Schulz dominik.schulz@gauner.org

Previously we were overly finicky when removing mounts.
If a mount isn't mounted or initialized we shouldn't care.
If it's in the config remove it, if not don't.

Fixes gopasspw#1746

RELEASE_NOTES=[BUGFIX] Always allow removing mounts

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Copy link
Member

@AnomalRoil AnomalRoil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Did you test it locally to reproduce the bug report we had?

@dominikschulz
Copy link
Member Author

Yes, reproduced and tested locally.

@dominikschulz dominikschulz merged commit 6e0aef8 into gopasspw:master Jan 22, 2021
@dominikschulz dominikschulz deleted the fix/issue-1746 branch January 22, 2021 20:36
kpitt pushed a commit to kpitt/gopass that referenced this pull request Jul 21, 2022
Previously we were overly finicky when removing mounts.
If a mount isn't mounted or initialized we shouldn't care.
If it's in the config remove it, if not don't.

Fixes gopasspw#1746

RELEASE_NOTES=[BUGFIX] Always allow removing mounts

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Defects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot remove uninitialised mount
2 participants