diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-05-12 22:19:59 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-05-12 22:20:51 -0500 |
commit | cd227001e5ccecaf0ba25dd5a1a8d68a703d8801 (patch) | |
tree | 3f72539acdbbaf0ac267b8264bfee6493f8e92fc /src/etc | |
parent | f5a9bb1f2180e6b9fcc9e81006524c2f6813e037 (diff) | |
download | pfsense-cd227001e5ccecaf0ba25dd5a1a8d68a703d8801.zip pfsense-cd227001e5ccecaf0ba25dd5a1a8d68a703d8801.tar.gz |
Use -g with groupdel when passing a GID. Ticket #6352
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/auth.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc index 10509a4..d131e86 100644 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -441,7 +441,7 @@ function local_sync_accounts() { if ($line[2] > 65000) { continue; } - $cmd = "/usr/sbin/pw groupdel {$line[2]}"; + $cmd = "/usr/sbin/pw groupdel -g {$line[2]}"; if ($debug) { log_error(sprintf(gettext("Running: %s"), $cmd)); } |