Enforce that new node groups have unique names
[ganeti-local] / lib / daemon.py
index 15b89bf..c26a176 100644 (file)
@@ -682,4 +682,4 @@ def GenericMain(daemon_name, optionparser,
 
     exec_fn(options, args, prep_results)
   finally:
-    utils.RemovePidFile(utils.DaemonPidFileName(daemon_name))
+    utils.RemoveFile(utils.DaemonPidFileName(daemon_name))