mirror of
https://github.com/ovh/the-bastion.git
synced 2025-11-13 00:30:51 +08:00
commit
7c51a4d73b
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ foreach my $todelete ("$group-owner", "$group-aclkeeper", "$group-gatekeeper", $
|
||||||
# remove sudoers if it's there
|
# 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);
|
$fnret = OVH::Bastion::execute(cmd => [$OVH::Bastion::BASEPATH . '/bin/sudogen/generate-sudoers.sh', 'delete', 'group', $group], must_succeed => 1, noisy_stdout => 1);
|
||||||
if (!$fnret) {
|
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(
|
OVH::Bastion::syslogFormatted(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue