From 2e1b405f12d89ceb483bef66dd56a130b81bc6cf Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 2 Sep 2015 16:57:51 +0000 Subject: s6-rc-bundle bugfix --- src/s6-rc/s6-rc-bundle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s6-rc/s6-rc-bundle.c b/src/s6-rc/s6-rc-bundle.c index e4caf00..c171fdc 100644 --- a/src/s6-rc/s6-rc-bundle.c +++ b/src/s6-rc/s6-rc-bundle.c @@ -88,7 +88,7 @@ static void modify_resolve (int fdcompiled, s6rc_db_t *db, char const *const *to unsigned int n = db->nlong + db->nshort ; unsigned char bits[bitarray_div8(n)] ; if (fdr < 0) strerr_diefu3sys(111, "open ", compiled, "/resolve.cdb") ; - if (cdb_init_map(&cr, fdr, 1)) + if (!cdb_init_map(&cr, fdr, 1)) strerr_diefu3sys(111, "cdb_init ", compiled, "/resolve.cdb") ; while (i--) check(&cr, db, toadd[i], 1, force, compiled) ; i = todeln ; -- cgit v1.2.3