Skip to content

Commit

Permalink
make sure destructors get called after setting admin password
Browse files Browse the repository at this point in the history
  • Loading branch information
berthubert committed Jan 6, 2024
1 parent e5074cb commit beaee01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ int trifectaMain(int argc, const char**argv)
sws.d_users.createUser("admin", pw, "", true);
}
if(args.get<string>("rnd-admin-password") != "continue")
exit(EXIT_SUCCESS);
return EXIT_SUCCESS;
}

try {
Expand Down

0 comments on commit beaee01

Please sign in to comment.