Commit 533bb4b1 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix exception class name in utils.WritePidFile

Reviewed-by: iustinp
parent 4cb1d919
......@@ -1067,7 +1067,7 @@ def WritePidFile(name):
pid = os.getpid()
pidfilename = _DaemonPidFileName(name)
if IsPidFileAlive(pidfilename):
raise GenericError("%s contains a live process" % pidfilename)
raise errors.GenericError("%s contains a live process" % pidfilename)
WriteFile(pidfilename, data="%d\n" % pid)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment