summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-11-10 13:15:17 +0000
committerLaurent Bercot <ska@appnovation.com>2022-11-10 13:15:17 +0000
commit2046e5ba1c5c6c9d62aaa686b9cdf655135af743 (patch)
tree976e63fe9d4f65c65969dc7c3f4a8246d80c2afe
parentab8b75e3db284a59a10c63c87027a42fc962162d (diff)
downloads6-rc-2046e5ba1c5c6c9d62aaa686b9cdf655135af743.tar.xz
bugfix: s6-rc-db: don't open the compiled twice
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--src/s6-rc/s6-rc-db.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/s6-rc/s6-rc-db.c b/src/s6-rc/s6-rc-db.c
index d2fb0be..02aaac2 100644
--- a/src/s6-rc/s6-rc-db.c
+++ b/src/s6-rc/s6-rc-db.c
@@ -377,7 +377,6 @@ int main (int argc, char const *const *argv)
/* Read the sizes of the compiled db */
- fdcompiled = open_readb(compiled) ;
if (!s6rc_db_read_sizes(fdcompiled, &dbblob))
strerr_diefu3sys(111, "read ", compiled, "/n") ;