提交 4742811f 编写于 作者: E Enrico Giordani

Comment wording.

上级 2c8c9373
...@@ -59,9 +59,9 @@ proc spawn_instance {type base_port count {conf {}}} { ...@@ -59,9 +59,9 @@ proc spawn_instance {type base_port count {conf {}}} {
# Finally exec it and remember the pid for later cleanup. # Finally exec it and remember the pid for later cleanup.
if {$type eq "redis"} { if {$type eq "redis"} {
set pid [exec ../../../src/redis-server $cfgfile &] ;# WIN_PORT_ISSUE set pid [exec ../../../src/redis-server $cfgfile &] ;# WIN_PORT_FIX
} elseif {$type eq "sentinel"} { } elseif {$type eq "sentinel"} {
set pid [exec ../../../src/redis-server $cfgfile --sentinel &] ;# WIN_PORT_ISSUE set pid [exec ../../../src/redis-server $cfgfile --sentinel &] ;# WIN_PORT_FIX
} else { } else {
error "Unknown instance type." error "Unknown instance type."
} }
...@@ -395,9 +395,9 @@ proc restart_instance {type id} { ...@@ -395,9 +395,9 @@ proc restart_instance {type id} {
# Execute the instance with its old setup and append the new pid # Execute the instance with its old setup and append the new pid
# file for cleanup. # file for cleanup.
if {$type eq "redis"} { if {$type eq "redis"} {
set pid [exec ../../../src/redis-server $cfgfile &] ;# WIN_PORT_ISSUE set pid [exec ../../../src/redis-server $cfgfile &] ;# WIN_PORT_FIX
} else { } else {
set pid [exec ../../../src/redis-server $cfgfile --sentinel &] ;# WIN_PORT_ISSUE set pid [exec ../../../src/redis-server $cfgfile --sentinel &] ;# WIN_PORT_FIX
} }
set_instance_attrib $type $id pid $pid set_instance_attrib $type $id pid $pid
lappend ::pids $pid lappend ::pids $pid
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册