mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
auth.inc local_sync_accounts(), missing -g in groupdel. for https://github.com/opnsense/core/issues/3519
This commit is contained in:
parent
cdaa275fff
commit
ebcd30c971
@ -410,7 +410,7 @@ function local_sync_accounts()
|
||||
if (count($line) < 3 || !strncmp($line[0], '_', 1) || $line[2] < 2000 || $line[2] > 65000) {
|
||||
continue;
|
||||
}
|
||||
mwexecf('/usr/sbin/pw groupdel %s', $line[2]);
|
||||
mwexecf('/usr/sbin/pw groupdel -g %s', $line[2]);
|
||||
}
|
||||
pclose($fd);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user