Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for empty $INFECTED_FILES #2594

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Conversation

pjrobertson
Copy link
Contributor

Fixes #2593

This checks to see if the string is empty, if it is then it assigns a placeholder 'No infected files found' message so that the notify_admin_gui or rather the nextcloud_occ_no_check notification:generate -l "$2" "$admin" "$1" correctly runs

pjrobertson and others added 2 commits November 20, 2023 09:09
Fixes nextcloud#2593

Signed-off-by: Patrick Robertson <robertson.patrick@gmail.com>
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
@enoch85
Copy link
Member

enoch85 commented Nov 20, 2023

Thank you so much for the issue and the fix! Well done!

@enoch85 enoch85 merged commit 3e3e64e into nextcloud:master Nov 20, 2023
3 checks passed
@pjrobertson pjrobertson deleted the patch-1 branch November 20, 2023 09:43
@pjrobertson
Copy link
Contributor Author

Thank you for maintaining this project! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clamav scan does not send notification when $INFECTED_FILES is empty
2 participants