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.
This commit is contained in:
mccann@jhu.edu
2007-10-02 16:56:51 -04:00
parent e0b225b1b6
commit 3ef4a374f7
2 changed files with 58 additions and 2 deletions

View File

@@ -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: