fix: osh-accountDelete: fix typo

Signed-off-by: Antoine Leblanc <antoine.leblanc@ovhcloud.com>
This commit is contained in:
Antoine Leblanc 2020-12-14 21:49:32 +01:00
parent 6e03fa2877
commit 82f2c96ea6
No known key found for this signature in database
GPG key ID: 6857473834C40E74

View file

@ -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;
} }
} }