]> git.cameronkatri.com Git - pw-darwin.git/commit
pw: (file == NULL) check is always false in read_userconfig(), remove
authorYuri Pankov <yuripv@FreeBSD.org>
Tue, 16 Oct 2018 16:00:41 +0000 (16:00 +0000)
committerYuri Pankov <yuripv@FreeBSD.org>
Tue, 16 Oct 2018 16:00:41 +0000 (16:00 +0000)
commit29aa58a639334f34b8a5f1629a0b469cdf577c68
tree8a072ddf082963e1276f1bc8ff47b0cb345696c2
parent22e3ea3a26032d00c12a5fc2814d3b78966018b9
pw: (file == NULL) check is always false in read_userconfig(), remove
it.  Drop the now unused _PATH_PW_CONF definition. [1]

While here, change the last remaining hardcoded "/etc" to _PATH_PWD.

Noted by: glebius [1]
Reviewed by: eugen
Approved by: re (gjb), kib (mentor)
Differential Revision: https://reviews.freebsd.org/D17575
pw/pw.c
pw/pw.h
pw/pw_conf.c