diff options
author | Andinus <andinus@nand.sh> | 2020-05-10 02:42:14 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-05-10 03:32:13 +0530 |
commit | e08eb3c0f97de5f98fb8fd3b3c2a29acfffbfddd (patch) | |
tree | eeaa376add59c13cab0b67cc2cfa2a2ff777c4f8 | |
parent | b26053326e3a22678129db193535f0beec36d3c7 (diff) | |
download | pictor-e08eb3c0f97de5f98fb8fd3b3c2a29acfffbfddd.tar.gz |
Add note about OpenBSD::Pledge & OpenBSD::Unveil
-rw-r--r-- | README.org | 4 | ||||
-rwxr-xr-x | pictor.pl | 2 |
2 files changed, 5 insertions, 1 deletions
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; |