dirsrv is not stopped correctly in the fallback

The previous patch fixed ipactl stop command. However, the dirsrv
stop in the ipactl start command fallback was not right either.

https://fedorahosted.org/freeipa/ticket/1800
This commit is contained in:
Martin Kosek 2011-09-20 11:15:52 +02:00
parent e49b0e6c09
commit 709e3ddc5c

View File

@ -206,7 +206,7 @@ def ipa_start(options):
except:
pass
try:
svchandle.stop('dirsrv', capture_output=False)
dirsrv.stop(capture_output=False)
except:
pass
raise IpactlError("Aborting ipactl")