summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed_frames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_frames.c b/sfeed_frames.c
index 5d27195..3ecf3e2 100644
--- a/sfeed_frames.c
+++ b/sfeed_frames.c
@@ -106,7 +106,7 @@ main(int argc, char *argv[])
if (showsidebar && !(fpmenu = fopen("menu.html", "wb")))
err(1, "fopen: menu.html");
- if (pledge("stdio rpath", NULL) == -1)
+ if (pledge(argc == 1 ? "stdio" : "stdio rpath", NULL) == -1)
err(1, "pledge");
fputs("<html><head><link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />"