diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 24f0556..105266b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -100,9 +100,10 @@ async fn main() -> Result<()> { // A new swarm's first users, if it is to have a user registry; the users of the // htpasswd file that aren't among them may do nothing until they are added. let first_users = if args.genesis { - access::registry::first_users(&args.bootstrap_users) + access::registry::first_users(&args.bootstrap_users, &args.bootstrap_keys) + .map_err(anyhow::Error::msg)? } else { - Vec::new() + Default::default() }; if !first_users.is_empty() && let Some(path) = args.htpasswd.as_deref() |
