diff options
author | David Nugent <davidn@FreeBSD.org> | 1997-09-01 09:33:08 +0000 |
---|---|---|
committer | David Nugent <davidn@FreeBSD.org> | 1997-09-01 09:33:08 +0000 |
commit | 6ff0675062679b8c2585d74efd11857c2ecc3140 (patch) | |
tree | 4cb4a546d76dc0e584c4f59ce604d544a3f249b8 /pw/pw_conf.c | |
parent | 0370f7c802f3168349645697caedee4e9845abbe (diff) | |
download | pw-darwin-6ff0675062679b8c2585d74efd11857c2ecc3140.tar.gz pw-darwin-6ff0675062679b8c2585d74efd11857c2ecc3140.tar.zst pw-darwin-6ff0675062679b8c2585d74efd11857c2ecc3140.zip |
Unquote default group in pw.conf.
PR: 4365
Submitted by: "Andrew L. Moore" <alm@mclink.com>
Diffstat (limited to 'pw/pw_conf.c')
-rw-r--r-- | pw/pw_conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pw/pw_conf.c b/pw/pw_conf.c index 42ce4a6..144737f 100644 --- a/pw/pw_conf.c +++ b/pw/pw_conf.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: pw_conf.c,v 1.5 1997/02/22 16:12:27 peter Exp $ */ #include <string.h> @@ -306,6 +306,7 @@ read_userconfig(char const * file) ? (char *) bourne_shell : newstr(q); break; case _UC_DEFAULTGROUP: + q = unquote(q); config.default_group = (q == NULL || !boolean_val(q, 1) || getgrnam(q) == NULL) ? NULL : newstr(q); break; |