diff options
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -2137,6 +2137,10 @@ main(int argc, char *argv[]) | |||
| 2137 | die("dwm: cannot open display"); | 2137 | die("dwm: cannot open display"); |
| 2138 | checkotherwm(); | 2138 | checkotherwm(); |
| 2139 | setup(); | 2139 | setup(); |
| 2140 | #ifdef __OpenBSD__ | ||
| 2141 | if (pledge("stdio proc exec", NULL) == -1) | ||
| 2142 | die("pledge"); | ||
| 2143 | #endif /* __OpenBSD__ */ | ||
| 2140 | scan(); | 2144 | scan(); |
| 2141 | run(); | 2145 | run(); |
| 2142 | cleanup(); | 2146 | cleanup(); |
