From e47392397a470305aec6c9f5b8839121f1762c5c Mon Sep 17 00:00:00 2001 From: "wangzelin.wzl" Date: Mon, 12 Jul 2021 14:04:27 +0800 Subject: [PATCH] fix a diff error --- deps/oblib/src/lib/utility/utility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/oblib/src/lib/utility/utility.cpp b/deps/oblib/src/lib/utility/utility.cpp index 6e18fd880c..4af34aa4dd 100644 --- a/deps/oblib/src/lib/utility/utility.cpp +++ b/deps/oblib/src/lib/utility/utility.cpp @@ -1149,7 +1149,7 @@ static int pidfile_test(const char* pidfile) int ret = OB_SUCCESS; int fd = open(pidfile, O_RDONLY); - if (fd < 0) { + if (fd < 0) { ret = OB_FILE_NOT_EXIST; } else { if (lockf(fd, F_TEST, 0) != 0) { -- GitLab