summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdmlib/kdmtsak.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kdmlib/kdmtsak.cpp b/kdmlib/kdmtsak.cpp
index cf7de783f..ebfedb261 100644
--- a/kdmlib/kdmtsak.cpp
+++ b/kdmlib/kdmtsak.cpp
@@ -163,6 +163,7 @@ int main (int argc, char *argv[])
while (numread > 0) {
numread = read(mPipe_fd, readbuf, 6);
}
+ close(mPipe_fd);
mPipe_fd = open(FIFO_FILE, O_RDWR);
}
}