opendoas

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

commit 3916903608b12ae310588c51466c46971977acb6
parent 4356cb6b4cefb142d182784c264ce936a1ec3626
Author: Duncan Overbruck <mail@duncano.de>
Date:   Sat, 19 Oct 2019 15:02:58 +0200

fixup unveil

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

diff --git a/doas.c b/doas.c @@ -458,8 +458,7 @@ main(int argc, char **argv) formerpath = ""; # ifdef __OpenBSD__ - if (unveil(_PATH_LOGIN_CONF, "r") == -1 || - unveil(_PATH_LOGIN_CONF ".db", "r") == -1) + if (unveil(_PATH_LOGIN_CONF, "r") == -1) err(1, "unveil"); # endif if (rule->cmd) {