Skip to content

Commit

Permalink
Fix .treeinfo check in the functions-proxy utils
Browse files Browse the repository at this point in the history
Squid prints file name in the middle of the line not on the end. Maybe
change in the squid logging?
  • Loading branch information
jkonecny12 committed Aug 13, 2024
1 parent bba9f2e commit 320fbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function check_proxy_settings() {
fi
elif [ "$httpdir" ]; then
# check for .treeinfo request
grep -q '\.treeinfo$' $tmpdir/proxy/access.log
grep -q '\.treeinfo[[:space:]]' $tmpdir/proxy/access.log
if [[ $? -ne 0 ]]; then
echo '.treeinfo request to repository server was not proxied' >> $tmpdir/RESULT
fi
Expand Down

0 comments on commit 320fbfb

Please sign in to comment.