commit 4a7a07a1a3bda70aae1e58fdec08e4ec5a77cbb7
parent 147d49a97747e25597968aa05573fe1dad2aa188
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Wed, 8 Jun 2016 00:49:33 +0200
sbofind: add missing period in error message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbofind b/sbofind
@@ -129,7 +129,7 @@ sub perform_search {
# pull the contents of a file into a variable and format it for output
sub get_file_contents {
- script_error 'get_file_contents requires an argument' unless @_ == 1;
+ script_error 'get_file_contents requires an argument.' unless @_ == 1;
my $file = shift;
-f $file or return "$file doesn't exist.\n";
my ($fh, $exit) = open_read($file);