Update revoke-cleaner.pl

This commit is contained in:
nu11secur1ty 2023-01-17 15:04:58 +02:00 committed by GitHub
parent 30f0b3e74d
commit 2eca321812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,5 @@ print color('RESET');
chomp (my $username = <STDIN>); chomp (my $username = <STDIN>);
my $cleaner = `sed -i '/$username/d' $ENVPKI`; my $cleaner = `sed -i '/$username/d' $ENVPKI`;
my $cleancobf1g = `rm -rf /etc/openvpn/client/$username`;
exit 0; exit 0;