All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit f4d6e20d authored by Mike Hibler's avatar Mike Hibler

BUG FIX: fix the return value check on dbmopen, it was backward.

parent c2b74875
......@@ -133,15 +133,10 @@ sub os_account_cleanup()
my %PDB;
my %GDB;
my $pretval = dbmopen(%PDB, $PASSDB, undef);
my $gretval = dbmopen(%GDB, $GROUPDB, undef);
if ($pretval) {
dbmopen(%PDB, $PASSDB, 0660) or
die "Cannot open $PASSDB: $!";
elsif ($gretval) {
dbmopen(%GDB, $GROUPDB, 0660) or
die "Cannot open $GROUPDB: $!";
if ($debug) {
use Data::Dumper;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment