Fix: sessiond: occasional badfd error on repeated SIGTERM
[lttng-tools.git] / src / common / utils.c
index d9bacad0e7a7f32dd660e2d6db28b754b7545066..646ebbbc7d34e6705d82fa654773ccbc387c5c66 100644 (file)
@@ -537,6 +537,7 @@ void utils_close_pipe(int *src)
                if (ret) {
                        PERROR("close pipe");
                }
+               src[i] = -1;
        }
 }
 
This page took 0.030876 seconds and 4 git commands to generate.