diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-05-13 07:03:52 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-05-13 07:03:52 -0500 |
commit | 535634e547150f72c5a5bd936d83c9d4c484e367 (patch) | |
tree | 9a8b1c5f5c5f878fabbdc40143bccbe996de73f1 /src | |
parent | 4680f6bf755fa7d323beba599ea94646d2d5f3bb (diff) | |
download | pfsense-535634e547150f72c5a5bd936d83c9d4c484e367.zip pfsense-535634e547150f72c5a5bd936d83c9d4c484e367.tar.gz |
Silence mwexec output. Now that the groupdel actually works, it spams the log when group isn't found. Ticket #6352
Diffstat (limited to 'src')
-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 d131e86..a3cf01c 100644 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -761,7 +761,7 @@ function local_group_set($group, $reset = false) { } /* determine add or mod */ - if (mwexec("/usr/sbin/pw groupshow -g {$group_gid} 2>&1") == 0) { + if (mwexec("/usr/sbin/pw groupshow -g {$group_gid} 2>&1", true) == 0) { $group_op = "groupmod -l"; } else { $group_op = "groupadd -n"; |