Merge pull request #93 from ovh/microfix

chore: fix an error message
This commit is contained in:
Stéphane Lesimple 2020-12-15 17:04:26 +01:00 committed by GitHub
commit 7c51a4d73b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,7 +187,7 @@ foreach my $todelete ("$group-owner", "$group-aclkeeper", "$group-gatekeeper", $
# remove sudoers if it's there
$fnret = OVH::Bastion::execute(cmd => [$OVH::Bastion::BASEPATH . '/bin/sudogen/generate-sudoers.sh', 'delete', 'group', $group], must_succeed => 1, noisy_stdout => 1);
if (!$fnret) {
warn_syslog("Error during group deletion of '$group', couldn't delete sudoers file: $fnret->msg");
warn_syslog("Error during group deletion of '$group', couldn't delete sudoers file: " . $fnret->msg);
}
OVH::Bastion::syslogFormatted(