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:
1 parent
f6aac4d5cb
commit
061e0b63ef
1 file changed
+1
-1
@@ -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