fix: correct bootstarp typo to bootstrap issue #121 (#124)

* fix: correct bootstarp typo to bootstrap issue #121

* fix: remove misleading error message #137
This commit is contained in:
rgyu
2021-07-12 13:58:47 +08:00
committed by GitHub
parent d2f257f846
commit 01321d90c7
4 changed files with 4 additions and 5 deletions

View File

@ -1149,8 +1149,7 @@ static int pidfile_test(const char* pidfile)
int ret = OB_SUCCESS;
int fd = open(pidfile, O_RDONLY);
if (fd < 0) {
LOG_ERROR("fid file doesn't exist", K(pidfile));
if (fd < 0) {
ret = OB_FILE_NOT_EXIST;
} else {
if (lockf(fd, F_TEST, 0) != 0) {