ovs.daemon: Add missing 'global' when setting _pidfile_dev, _pidfile_ino.
[openvswitch] / python / ovs / daemon.py
index da7eb8aed99035b34b87183a2a70e5f8104c84ea..7bd7370ee253bb120f28cd33d333c0cb5f30468a 100644 (file)
@@ -182,6 +182,8 @@ def _make_pidfile():
         if error:
             _fatal("%s: unlink failed (%s)" % (tmpfile, os.strerror(error)))
 
+    global _pidfile_dev
+    global _pidfile_ino
     _pidfile_dev = s.st_dev
     _pidfile_ino = s.st_ino