Skip to content

Commit 2257b13

Browse files
committed
[Fix] issue rfxn#201 address errant echo and verbose output from hookscan.sh
1 parent 37c1bbb commit 2257b13

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

files/VERSION.hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5d4119eec9b9f09b8d57836ee941cb386566b05e583fa9fc8de38da53bb36a64
1+
53418119e0bb296d985f352b32bb39d4b47141cb321838ff394f67ba228e5ea1

files/internals/functions

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ get_remote_file() {
232232
doid="$3"
233233
verbose="$4"
234234
unset return_file
235+
if [ "$hscan" ]; then
236+
unset verbose
237+
fi
235238
if [ -z "$get_uri" ]; then
236239
eout "{internal} missing or invalid URI passed to get_remote_files" 1
237240
break
@@ -1050,7 +1053,6 @@ scan() {
10501053
unset ignore_hit
10511054
done
10521055
lbreakifs unset
1053-
echo
10541056
echo "$(date +"%b %d %H:%M:%S") $(hostname -s) clamscan end" >> $clamscan_log
10551057
else
10561058
if [ -z "$hscan" ]; then

0 commit comments

Comments
 (0)