summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-05-12 22:25:50 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-05-12 22:25:50 +0000
commitf42bff4c9dc8374205e3581df1ce72fca972dcd1 (patch)
tree310d220cc216867823bb21d8e699d9d2689695c2
parent9460942920c83f9bf0120c4feac64ae3f48ba642 (diff)
downloads6-rc-f42bff4c9dc8374205e3581df1ce72fca972dcd1.tar.xz
bugfix: trivial fdleak in s6-rc-oneshot run. (More to come.)
-rw-r--r--src/s6-rc/s6-rc-oneshot-run.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/s6-rc/s6-rc-oneshot-run.c b/src/s6-rc/s6-rc-oneshot-run.c
index 01e51ba..6973ab9 100644
--- a/src/s6-rc/s6-rc-oneshot-run.c
+++ b/src/s6-rc/s6-rc-oneshot-run.c
@@ -59,7 +59,6 @@ int main (int argc, char const *const *argv, char const *const *envp)
/* Read the sizes of the compiled db */
- fdcompiled = open_readb(compiled) ;
if (!s6rc_db_read_sizes(fdcompiled, &db))
strerr_diefu3sys(111, "read ", compiled, "/n") ;