auth.inc local_sync_accounts(), missing -g in groupdel. for https://github.com/opnsense/core/issues/3519

This commit is contained in:
Ad Schellevis 2019-06-20 16:35:30 +02:00
parent cdaa275fff
commit ebcd30c971

View File

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