From 96ea1740ead5c20dcbab3153e3d455704f033df4 Mon Sep 17 00:00:00 2001 From: Slack Coder Date: Fri, 4 Apr 2025 14:49:32 -0500 Subject: sbofind: fix compile error --- sbofind | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sbofind b/sbofind index de94e4f..bee0e1e 100755 --- a/sbofind +++ b/sbofind @@ -131,9 +131,10 @@ sub perform_search { } } if ($config{LOCAL_OVERRIDES} ne 'FALSE') { - if (! opendir(my $dh, $config{LOCAL_OVERRIDES})) { - warn("could not read the configured LOCAL_OVERRIDES directory '$config{LOCAL_OVERRIDES}'."); - exit 1; + my $dh; + if (! opendir($dh, $config{LOCAL_OVERRIDES})) { + print(STDERR "could not read the configured LOCAL_OVERRIDES directory '$config{LOCAL_OVERRIDES}'.\n"); + exit(1); } while (my $dir = readdir($dh)) { -- cgit v1.2.3