summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-09-02 16:57:51 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-09-02 16:57:51 +0000
commit2e1b405f12d89ceb483bef66dd56a130b81bc6cf (patch)
tree34b47eeb117228eb161d45e3708debd45b6de1c6
parent8b4f34f1879498a9faa55f662a67ec286fa7bea1 (diff)
downloads6-rc-2e1b405f12d89ceb483bef66dd56a130b81bc6cf.tar.xz
s6-rc-bundle bugfix
-rw-r--r--src/s6-rc/s6-rc-bundle.c2
1 files changed, 1 insertions, 1 deletions
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 ;