summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stagit-index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stagit-index.c b/stagit-index.c
index 9a1f902..59a12d6 100644
--- a/stagit-index.c
+++ b/stagit-index.c
@@ -162,6 +162,7 @@ main(int argc, char *argv[])
for (i = 1; i < argc; i++)
if (unveil(argv[i], "r") == -1)
err(1, "unveil: %s", argv[i]);
+
if (pledge("stdio rpath", NULL) == -1)
err(1, "pledge");
#endif