From 3ef4a374f723b61f8497c4a4d8921cc18d7f4070 Mon Sep 17 00:00:00 2001 From: "mccann@jhu.edu" Date: Tue, 2 Oct 2007 16:56:51 -0400 Subject: Patch to fix the installer crashing if selinux is disabled. Also changes the exception to contain the complete command. Add a check to make sure installer is running as root. Add signal handler to detect a user-cancelled installation. Detect existing DS instances and prompt to remove them. --- ipa-python/ipautil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipa-python/ipautil.py') diff --git a/ipa-python/ipautil.py b/ipa-python/ipautil.py index 2989b4211..38b941aa0 100644 --- a/ipa-python/ipautil.py +++ b/ipa-python/ipautil.py @@ -62,7 +62,7 @@ def run(args, stdin=None): logging.info(stderr) if p.returncode != 0: - raise subprocess.CalledProcessError(p.returncode, args[0]) + raise subprocess.CalledProcessError(p.returncode, ' '.join(args)) def file_exists(filename): try: -- cgit