stagit-index: remove unveil support for argv
This can reach the unveil argument limits and it is not a good case for using unveil.
This commit is contained in:
parent
174a763058
commit
dc0709f6f4
1 changed files with 0 additions and 4 deletions
|
@ -154,10 +154,6 @@ main(int argc, char *argv[])
|
|||
git_libgit2_init();
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue