Fix removing unencrypted file

This commit is contained in:
Difrex(Denis Zheleztsov) 2014-05-06 16:04:18 +04:00
parent 21731c54bb
commit f866b272f8

View File

@ -54,6 +54,9 @@ sub mdo {
{
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;
}