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:
François Cami committed 2021-03-17 08:41:45 +01:00
1 parent f6aac4d5cb
commit 061e0b63ef
1 file changed
+1 -1
+1 -1
View File
@@ -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 "