Reduce debugging messages in non-verbose mode.
[bluesky.git] / nfs3 / nfsd.c
index 8641a56..6c975f2 100644 (file)
@@ -53,8 +53,12 @@ int main(int argc, char *argv[])
     if (target == NULL)
         target = "s3";
 
+    const char *key = getenv("BLUESKY_KEY");
+    if (key == NULL)
+        key = "";
+
     store = bluesky_store_new(target);
-    fs = bluesky_init_fs("export", store);
+    fs = bluesky_init_fs("export", store, key);
 
     bluesky_crypt_random_bytes(nfsd_instance_verf_cookie,
                                sizeof(nfsd_instance_verf_cookie));