diff options
| author | bakkeby <[email protected]> | 2020-09-11 17:21:38 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-09-11 17:21:38 +0200 |
| commit | dc9e57a6b6e9495a53c65b9402593ab81ef510a7 (patch) | |
| tree | 0faf7144ff36359e63dd9dd6ecc544c1728bb129 /dwm.c | |
| parent | 4a35cd2704678656f74c066816feb7e045720efb (diff) | |
| download | dwm-flexipatch-dc9e57a6b6e9495a53c65b9402593ab81ef510a7.tar.gz dwm-flexipatch-dc9e57a6b6e9495a53c65b9402593ab81ef510a7.zip | |
swallow: upgrading to latest version with OpenBSD support
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4394,7 +4394,11 @@ main(int argc, char *argv[]) #endif // COOL_AUTOSTART_PATCH setup(); #ifdef __OpenBSD__ + #if SWALLOW_PATCH + if (pledge("stdio rpath proc exec ps", NULL) == -1) + #else if (pledge("stdio rpath proc exec", NULL) == -1) + #endif // SWALLOW_PATCH die("pledge"); #endif /* __OpenBSD__ */ scan(); |
