diff options
author | Slack Coder <slackcoder@server.ky> | 2025-04-04 14:49:32 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2025-04-05 09:47:49 -0500 |
commit | 96ea1740ead5c20dcbab3153e3d455704f033df4 (patch) | |
tree | b37ff7c0dfe931f2015116e4b3110e0f06d818cb | |
parent | db580599c2f83ae2be55ebd2c28dedb35a6431ac (diff) | |
download | sbotools2-96ea1740ead5c20dcbab3153e3d455704f033df4.tar.xz |
sbofind: fix compile errorv2.9.1
-rwxr-xr-x | sbofind | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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)) { |