projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovs.daemon: Add missing 'global' when setting _pidfile_dev, _pidfile_ino.
[openvswitch]
/
python
/
ovs
/
daemon.py
diff --git
a/python/ovs/daemon.py
b/python/ovs/daemon.py
index da7eb8aed99035b34b87183a2a70e5f8104c84ea..7bd7370ee253bb120f28cd33d333c0cb5f30468a 100644
(file)
--- a/
python/ovs/daemon.py
+++ b/
python/ovs/daemon.py
@@
-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