summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-02-28 19:22:53 +0000
committerErmal Luçi <eri@pfsense.org>2009-02-28 19:22:53 +0000
commita7db7d3ab81632ce2eae27208688a5fce1458a45 (patch)
tree938d3705fad5ce87885bcfa6448c11203e479230 /etc
parent82ebaf6b49370e4940e903298accb5391f2f5a1d (diff)
downloadpfsense-a7db7d3ab81632ce2eae27208688a5fce1458a45.zip
pfsense-a7db7d3ab81632ce2eae27208688a5fce1458a45.tar.gz
Choose the correct parameter to popen so syncing of a group can work correctly.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/auth.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 5e46c25..ab04846 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -366,7 +366,7 @@ function local_group_set($group, $reset = false) {
if($debug)
log_error("Running: {$cmd}");
- $fd = popen($cmd, "r+");
+ $fd = popen($cmd, "w");
fwrite($fd, $user['password']);
pclose($fd);
OpenPOWER on IntegriCloud