scrut(1): fixes failing write test

This commit is contained in:
Emma Tebibyte 2024-09-11 03:26:00 -06:00
parent 8bdb72ece8
commit c4cd2563f9
Signed by: emma
GPG Key ID: 06FA419A1698C270

View File

@ -82,7 +82,7 @@ int main(int argc, char *argv[]) {
struct stat buf;
#ifdef __OpenBSD__
if (unveil(*argv, "r") == -1) {
if (unveil(*argv, "rw") == -1) {
perror(program_name);
return EX_OSERR;
}