提交 e4739239 编写于 作者: W wangzelin.wzl

fix a diff error

上级 01321d90
...@@ -1149,7 +1149,7 @@ static int pidfile_test(const char* pidfile) ...@@ -1149,7 +1149,7 @@ static int pidfile_test(const char* pidfile)
int ret = OB_SUCCESS; int ret = OB_SUCCESS;
int fd = open(pidfile, O_RDONLY); int fd = open(pidfile, O_RDONLY);
if (fd < 0) { if (fd < 0) {
ret = OB_FILE_NOT_EXIST; ret = OB_FILE_NOT_EXIST;
} else { } else {
if (lockf(fd, F_TEST, 0) != 0) { if (lockf(fd, F_TEST, 0) != 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册