add blerg_init to blerg.a consumers
[blerg.git] / tools / blergtool.c
index 35af915..968081a 100644 (file)
@@ -27,6 +27,10 @@ int main(int argc, char *argv[]) {
                exit(1);
        }
 
+       if (!blerg_init()) {
+               exit(2);
+       }
+
        if (strncmp(argv[1], "store", 5) == 0) {
                char *store = argv[2];
                struct blerg *f = blerg_open(store);