diff options
-rw-r--r-- | sfeed_tail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_tail.c b/sfeed_tail.c index ecc0278..f9944f2 100644 --- a/sfeed_tail.c +++ b/sfeed_tail.c @@ -82,7 +82,7 @@ main(int argc, char *argv[]) FILE *fp; int i; - if (pledge("stdio", NULL) == -1) + if (pledge(argc == 1 ? "stdio" : "stdio rpath", NULL) == -1) err(1, "pledge"); if (!(bucket = buckets = calloc(argc, sizeof(struct bucket)))) |