diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-02-28 19:22:53 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-02-28 19:22:53 +0000 |
commit | a7db7d3ab81632ce2eae27208688a5fce1458a45 (patch) | |
tree | 938d3705fad5ce87885bcfa6448c11203e479230 | |
parent | 82ebaf6b49370e4940e903298accb5391f2f5a1d (diff) | |
download | pfsense-a7db7d3ab81632ce2eae27208688a5fce1458a45.zip pfsense-a7db7d3ab81632ce2eae27208688a5fce1458a45.tar.gz |
Choose the correct parameter to popen so syncing of a group can work correctly.
-rw-r--r-- | etc/inc/auth.inc | 2 |
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);
|