summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index bb95e26..09feae3 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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();