From 2046e5ba1c5c6c9d62aaa686b9cdf655135af743 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 10 Nov 2022 13:15:17 +0000 Subject: bugfix: s6-rc-db: don't open the compiled twice Signed-off-by: Laurent Bercot --- src/s6-rc/s6-rc-db.c | 1 - 1 file changed, 1 deletion(-) 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") ; -- cgit v1.2.3