diff options
Diffstat (limited to 'install')
-rwxr-xr-x | install/tools/ipactl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/tools/ipactl b/install/tools/ipactl index 581aacc36..44a61ae8d 100755 --- a/install/tools/ipactl +++ b/install/tools/ipactl @@ -35,6 +35,7 @@ from ipapython import config, dogtag from ipaplatform import tasks from ipapython.dn import DN from ipaplatform import services +from ipaplatform.paths import paths class IpactlError(ScriptError): pass @@ -221,7 +222,7 @@ def ipa_start(options): # that are already running and just return, so that the # stop() method of the base class will simply fill in the # service file again - os.unlink(ipaservices.SVC_LIST_FILE) + os.unlink(paths.SVC_LIST_FILE) dirsrv = services.knownservices.dirsrv try: @@ -303,7 +304,7 @@ def ipa_stop(options): # remove file with list of started services try: - os.unlink(ipaservices.SVC_LIST_FILE) + os.unlink(paths.SVC_LIST_FILE) except OSError: pass |