URL:
https://github.com/freeipa/freeipa/pull/2610
Author: AdamWill
Title: #2610: Fix authselect invocations to work with 1.0.2
Action: opened
PR body:
"""
Since authselect 1.0.2, invoking an authselect command sequence
like this:
['authselect', 'sssd', '', '--force']
does not work: authselect barfs on the empty string arg and
errors out. We must only pass a features arg if we actually have
some text to go in it.
This broke uninstallation.
I don't know for sure whether the fix in `restore` is needed -
it may be that `cfg[1]` is never an empty sequence - but it
seems sensible to do it just in case.
Signed-off-by: Adam Williamson <awilliam(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2610/head:pr2610
git checkout pr2610