Standardize quit pipes behavior
[lttng-tools.git] / src / bin / lttng-sessiond / utils.cpp
index f3446bc26c5b660a18e2611617f6c2fb4e7ce17b..8fec340403c4994fcee00a0678dc071906c66554 100644 (file)
@@ -30,7 +30,8 @@ int notify_thread_pipe(int wpipe)
 
        ret = lttng_write(wpipe, "!", 1);
        if (ret < 1) {
-               PERROR("write poll pipe");
+               ret = -1;
+               PERROR("Failed to write to thread pipe");
        }
 
        return (int) ret;
This page took 0.023079 seconds and 4 git commands to generate.