diff --git a/examples/pipe/pipe_main.c b/examples/pipe/pipe_main.c index 25ca6c5f2..697afe5f9 100644 --- a/examples/pipe/pipe_main.c +++ b/examples/pipe/pipe_main.c @@ -157,6 +157,12 @@ int main(int argc, FAR char *argv[]) return 6; } + ret = remove(FIFO_PATH1); + if (ret != 0) + { + fprintf(stderr, "pipe_main: remove failed with errno=%d\n", errno); + } + /* Perform the FIFO interlock test */ fprintf(stderr, "\npipe_main: Performing pipe interlock test\n");