From 208ff148af91eb5ee6b2d88ada757c27be24d443 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 5 Jan 2015 15:58:49 -0500 Subject: [PATCH] Cleanup: lock file already taken is error, not warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- src/common/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils.c b/src/common/utils.c index 3428d312d..7f91dcb81 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -516,7 +516,7 @@ int utils_create_lock_file(const char *filepath) */ ret = flock(fd, LOCK_EX | LOCK_NB); if (ret) { - WARN("Could not get lock file %s, another instance is running.", + ERR("Could not get lock file %s, another instance is running.", filepath); if (close(fd)) { PERROR("close lock file"); -- 2.34.1