-
-
Notifications
You must be signed in to change notification settings - Fork 672
Closed
Labels
Description
Steps To Reproduce
- Make sure your computer is free from infected files (
grep 'FOUND$' $VMLOGS/clamav-fullscan.logafter running a scan returns an empty string) - Make sure your settings are set up not to send notifications to the Nextcloud UI (not to send an email)
- Run clamav weekly scan script
- Wait for it to reach the end of the script, more specifically here
- When it gets to the
notify_admin_gui "Your weekly full-scan ClamAV report" "\$INFECTED_FILES_LOG\n \$INFECTED_FILES"section (line 254) note that the script bails/aborts, returning-l,--long-message requires a valueerror.
Expected Result
Clamav script runs successfull and posts a notification to the user
Actual Result
No notification is ever send because notify_admin_gui fails
Screenshots, Videos, or Pastebins
No response
Additional Context
No response
Build Version
27.1
Environment
By using the scripts
Environment Details
Linux XXXXX 5.15.0-87-generic #97-Ubuntu SMP Mon Oct 2 21:09:21 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Reactions are currently unavailable