opendoas

my fork of doas with custom prompt
git clone git://git.kocotian.pl/opendoas.git
Log | Files | Refs | README | LICENSE

commit 9d63eb3e713bfe178f79a111ff389b9c7020472c
parent 3f3c502351b672bb8ce1a5cc72b0078b1b102ffb
Author: Ivy Foster <iff@escondida.tk>
Date:   Wed, 30 Jan 2019 13:23:40 -0600

doas.c: put login_style in ifdef to compile on Linux

Closes: #23 [via git-merge-pr]

Diffstat:
Mdoas.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/doas.c b/doas.c @@ -340,7 +340,9 @@ main(int argc, char **argv) char cwdpath[PATH_MAX]; const char *cwd; char **envp; +#ifdef HAVE_BSD_AUTH_H char *login_style = NULL; +#endif setprogname("doas");