diff --git a/revoke-cleaner.pl b/revoke-cleaner.pl index 89aa97e..440d436 100644 --- a/revoke-cleaner.pl +++ b/revoke-cleaner.pl @@ -38,7 +38,10 @@ print "$issued"; ## Cleaning my $ENVPKI = "/etc/openvpn/easy-rsa/pki/index.txt"; print "Preparing for cleaning...\n"; + +print color('RED'); print "Please, choose the username, or if you are not really sure, just press Enter to exit the cleaner...\n"; +print color('RESET'); chomp (my $username = ); my $cleaner = `sed -i '/$username/d' $ENVPKI`;