summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-05-10 02:42:14 +0530
committerAndinus <andinus@nand.sh>2020-05-10 03:32:13 +0530
commite08eb3c0f97de5f98fb8fd3b3c2a29acfffbfddd (patch)
treeeeaa376add59c13cab0b67cc2cfa2a2ff777c4f8
parentb26053326e3a22678129db193535f0beec36d3c7 (diff)
downloadpictor-e08eb3c0f97de5f98fb8fd3b3c2a29acfffbfddd.tar.gz
Add note about OpenBSD::Pledge & OpenBSD::Unveil
-rw-r--r--README.org4
-rwxr-xr-xpictor.pl2
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;