diff options
author | Yuri Pankov <yuripv@FreeBSD.org> | 2018-10-15 20:11:53 +0000 |
---|---|---|
committer | Yuri Pankov <yuripv@FreeBSD.org> | 2018-10-15 20:11:53 +0000 |
commit | eb33f7f73f5a9995d6c1a3eb23f0aaa2de310a2c (patch) | |
tree | f5ef89db9a32a359a8453e7b9cd0bb842d167d66 /pw/pw.h | |
parent | bcfb085a8b157ca9c5e5943fd81ed045eb0e7ccc (diff) | |
download | pw-darwin-eb33f7f73f5a9995d6c1a3eb23f0aaa2de310a2c.tar.gz pw-darwin-eb33f7f73f5a9995d6c1a3eb23f0aaa2de310a2c.tar.zst pw-darwin-eb33f7f73f5a9995d6c1a3eb23f0aaa2de310a2c.zip |
pw: respect path specified using -V when writing pw.conf, and -C is not
explicitly specified. -V path is already used to determine which file
to read default values from, so it's only logical to write them to the
same file.
PR: 231653
Reviewed by: eugen, bapt
Approved by: re (gjb), kib (mentor)
Differential Revision: https://reviews.freebsd.org/D17566
Diffstat (limited to 'pw/pw.h')
-rw-r--r-- | pw/pw.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -64,6 +64,7 @@ enum _which }; #define _DEF_DIRMODE (S_IRWXU | S_IRWXG | S_IRWXO) +#define _PW_CONF "pw.conf" #define _PATH_PW_CONF "/etc/pw.conf" #define _UC_MAXLINE 1024 #define _UC_MAXSHELLS 32 |