projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c88d57
)
ovs-vsctl: Fix traceback when telling target to reload
author
Justin Pettit
<jpettit@nicira.com>
Fri, 4 Dec 2009 22:11:53 +0000
(14:11 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Fri, 4 Dec 2009 22:11:53 +0000
(14:11 -0800)
The code to tell the target to reload was referencing a non-existent
global variable to determine the target. This change uses the correct
one.
utilities/ovs-vsctl.in
patch
|
blob
|
history
diff --git
a/utilities/ovs-vsctl.in
b/utilities/ovs-vsctl.in
index bef868cfc71096e53ae53f3767ab53f19fcc2c46..06dbabb19855758b1083a975a4df2682da899d7c 100755
(executable)
--- a/
utilities/ovs-vsctl.in
+++ b/
utilities/ovs-vsctl.in
@@
-158,7
+158,7
@@
def do_cfg_save(cfg, file):
file.write("%s=%s\n" % (key, value))
def cfg_reload():
- target =
VSWITCHD_TARGET
+ target =
vswitchd_target
if not target.startswith('/'):
pid = read_first_line_of_file('%s/%s.pid' % ('@RUNDIR@', target))
target = '%s/%s.%s.ctl' % ('@RUNDIR@', target, pid)