From e08eb3c0f97de5f98fb8fd3b3c2a29acfffbfddd Mon Sep 17 00:00:00 2001 From: Andinus Date: Sun, 10 May 2020 02:42:14 +0530 Subject: Add note about OpenBSD::Pledge & OpenBSD::Unveil --- README.org | 4 ++++ pictor.pl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 80c5792..0f433b5 100644 --- a/README.org +++ b/README.org @@ -13,3 +13,7 @@ Pictor is a simple acronym expander. It's based on =wtf= program from *Tested on*: - OpenBSD 6.6 - Perl v5.28 + +*Note*: This program will only run on /OpenBSD/ because =OpenBSD::Pledge= & +=OpenBSD::Unveil= is used, to run it on other systems remove =pledge= & +=unveil= from the program. diff --git a/pictor.pl b/pictor.pl index 11778af..bffc7e2 100755 --- a/pictor.pl +++ b/pictor.pl @@ -76,7 +76,7 @@ foreach my $fn (@files) { pledge( qw( stdio ) ) or die "Unable to pledge: $!"; -# Die if we don't find any match. +# die if no match is found. die "I don't know what '$term' means!\n" unless $total_acronyms; -- cgit 1.4.1-2-gfad0