mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-10 11:55:53 +02:00
cron: avoid spamming stdout when the hub index is updated (#3485)
This commit is contained in:
parent
c161eb270b
commit
0bdb1f7f27
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ test -x /usr/bin/cscli || exit 0
|
|||
# splay hub upgrade and crowdsec reload
|
||||
sleep "$(seq 1 300 | shuf -n 1)"
|
||||
|
||||
/usr/bin/cscli --error hub update
|
||||
/usr/bin/cscli --error hub update >/dev/null
|
||||
|
||||
upgraded=$(/usr/bin/cscli --error hub upgrade)
|
||||
if [ -n "$upgraded" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue