Cleanup: lock file already taken is error, not warning
A message that is not in the archive (sent off-list or not yet received): [email protected]
Jérémie Galarneau
AppliedMerged, thanks!
Jérémie
Quoted 21 lines · Mathieu Desnoyers
Signed-off-by Mathieu Desnoyers <[email protected]>--- src/common/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)src/common/utils.c +1
-2@@ -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.1.1
Signature · 8 lines
Jérémie Galarneau EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev