* fix: correct bootstarp typo to bootstrap issue #121 * fix: remove misleading error message #137
This commit is contained in:
3
deps/oblib/src/lib/utility/utility.cpp
vendored
3
deps/oblib/src/lib/utility/utility.cpp
vendored
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user