sfm

simple file manager
git clone https://git.afify.dev/sfm.git
Log | Files | Refs | README | LICENSE

commit 776c0a225f1b4ffce8dce3e7e0f6b2b63aae5783
parent e3744f51319af2cfdb0a6c54d7d634eb735ac7b7
Author: afify <hassan@afify.dev>
Date:   Wed,  8 Jul 2020 09:25:13 +0300

update pledge promises

Diffstat:
Msfm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfm.c b/sfm.c @@ -1284,7 +1284,7 @@ int main(int argc, char *argv[]) { #ifdef __OpenBSD__ - if (pledge("stdio tty rpath proc exec", NULL) == -1) + if (pledge("cpath exec getpw proc rpath stdio tmppath tty wpath", NULL) == -1) die("pledge"); #endif /* __OpenBSD__ */ if (argc == 1) {