mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipa-client-install: output a warning if sudo is not present (2)
Fixes: https://pagure.io/freeipa/issue/8530 Signed-off-by: François Cami <fcami@redhat.com> Reviewed-By: Armando Neto <abiagion@redhat.com>
This commit is contained in:
committed by
Rob Crittenden
parent
5a1f8e76de
commit
abaa614a3c
@@ -2205,7 +2205,7 @@ def install_check(options):
|
||||
# available.
|
||||
if options.conf_sudo:
|
||||
try:
|
||||
subprocess.Popen(['sudo -V'])
|
||||
subprocess.Popen(['sudo', '-V'])
|
||||
except FileNotFoundError:
|
||||
logger.info(
|
||||
"The sudo binary does not seem to be present on this "
|
||||
|
||||
Reference in New Issue
Block a user