summaryrefslogtreecommitdiffstats
path: root/ipa-python
diff options
context:
space:
mode:
authormccann@jhu.edu <mccann@jhu.edu>2007-10-02 16:56:51 -0400
committermccann@jhu.edu <mccann@jhu.edu>2007-10-02 16:56:51 -0400
commit3ef4a374f723b61f8497c4a4d8921cc18d7f4070 (patch)
treee03fcbaa5de62292b1f19842a46a029e083a10c0 /ipa-python
parente0b225b1b6dc7330c5bbb0007f58e231b726f84d (diff)
downloadfreeipa-3ef4a374f723b61f8497c4a4d8921cc18d7f4070.tar.gz
freeipa-3ef4a374f723b61f8497c4a4d8921cc18d7f4070.tar.xz
freeipa-3ef4a374f723b61f8497c4a4d8921cc18d7f4070.zip
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.
Diffstat (limited to 'ipa-python')
-rw-r--r--ipa-python/ipautil.py2
1 files changed, 1 insertions, 1 deletions
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: