commit d4133df37876f68b6fd9399496ef89552ec45f2f from: Omar Polo date: Tue Apr 04 10:56:30 2023 UTC typo; $dbpath instead of hardcoding mails.sqlite commit - ffb578a06e0f9fd37299bd27c97c29e1c160d9e4 commit + d4133df37876f68b6fd9399496ef89552ec45f2f blob - 4794a2f4ca164921ce63a6bdb23016d6fbd74264 blob + 7b876b407f53e9be657dbf406e007078d042d02a --- mimport +++ mimport @@ -18,7 +18,7 @@ use OpenBSD::Unveil; die "usage: $0 dbpath\n" if @ARGV != 1; my $dbpath = shift @ARGV; -open(my $sqlite, "|-", "/usr/local/bin/sqlite3", "mails.sqlite") +open(my $sqlite, "|-", "/usr/local/bin/sqlite3", $dbpath) or die "can't spawn sqlite3"; unveil("/usr/local/bin/mshow", "rx") or die "unveil mshow: $!";