mirror of
https://github.com/ovh/the-bastion.git
synced 2025-02-27 00:54:26 +08:00
fix: osh-accountDelete: fix typo
Signed-off-by: Antoine Leblanc <antoine.leblanc@ovhcloud.com>
This commit is contained in:
parent
6e03fa2877
commit
82f2c96ea6
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ if (!getgrnam($ttygroup)) {
|
||||||
$ttygroup = substr($account, 0, 5) . '-tty';
|
$ttygroup = substr($account, 0, 5) . '-tty';
|
||||||
if (!getgrnam($ttygroup)) {
|
if (!getgrnam($ttygroup)) {
|
||||||
osh_warn("Couldn't find out which is the tty group of this account, will still delete it anyway");
|
osh_warn("Couldn't find out which is the tty group of this account, will still delete it anyway");
|
||||||
warn_syslog("Couldn't find out the name of the tty group of acount $account ($ttygroup doesn't exist), deleting anyway");
|
warn_syslog("Couldn't find out the name of the tty group of account $account ($ttygroup doesn't exist), deleting anyway");
|
||||||
$ttygroup = undef;
|
$ttygroup = undef;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue