From 061e0b63ef3a72ba3261b42ec5f2ce290070c613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cami?= Date: Mon, 15 Mar 2021 16:55:08 +0100 Subject: [PATCH] ipa-client-install: output a warning if sudo is not present (2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://pagure.io/freeipa/issue/8530 Signed-off-by: François Cami Reviewed-By: Armando Neto --- ipaclient/install/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaclient/install/client.py b/ipaclient/install/client.py index 0e478fa26..9bdfbddaf 100644 --- a/ipaclient/install/client.py +++ b/ipaclient/install/client.py @@ -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 "