Fix removing unencrypted file
This commit is contained in:
parent
21731c54bb
commit
f866b272f8
@ -54,6 +54,9 @@ sub mdo {
|
|||||||
{
|
{
|
||||||
print "\n$name\t$resource\t$username\n";
|
print "\n$name\t$resource\t$username\n";
|
||||||
}
|
}
|
||||||
|
# Remove unencrypted file
|
||||||
|
my @rm_cmd = ( "rm", "-f", "$db_file" );
|
||||||
|
system(@rm_cmd) == 0 or die "Cannot remove unencrypted database! $!\n";
|
||||||
exit 0;
|
exit 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user