#425 install scripts should print errors to stderr
Closed: Fixed None Opened 13 years ago by jhrozek.

When working on #393, I noticed that we use the following construct quite a lot in the installer scripts such as {{{ipa-server-install}}}:

  if result == epic_fail:
     print "Error message"
     return 1

I think we should use {{{sys.exit("Error message")}}} instead, because it prints to stderr where the error messages belong..


Metadata Update from @jhrozek:
- Issue assigned to jhrozek
- Issue set to the milestone: FreeIPA 2.0 - 2010/11

7 years ago

Login to comment on this ticket.

Metadata