aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-06-08 00:49:33 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-06-08 00:49:33 +0200
commit4a7a07a1a3bda70aae1e58fdec08e4ec5a77cbb7 (patch)
tree61b76ad11a765d362d1166462a6aba09b8260d6e
parent147d49a97747e25597968aa05573fe1dad2aa188 (diff)
downloadsbotools2-4a7a07a1a3bda70aae1e58fdec08e4ec5a77cbb7.tar.xz
sbofind: add missing period in error message
-rwxr-xr-xsbofind2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbofind b/sbofind
index 1e73d78..8c78b44 100755
--- 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);