Skip to content

Commit

Permalink
fixity-cron: remove empty lines whe retrieving email list
Browse files Browse the repository at this point in the history
  • Loading branch information
amayita committed Dec 17, 2021
1 parent 41e5a0f commit 570f2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/bin/fixity-cron
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function get_emails(){
cd /usr/lib/archivematica/storage-service
echo 'select email from auth_user;' | \
/usr/share/archivematica/virtualenvs/archivematica-storage-service/bin/python \
manage.py dbshell 2> /dev/null | tail -n+2 | grep -v "x@x"
manage.py dbshell 2> /dev/null | tail -n+2 | grep -v "x@x"| grep -v ^$
";
}

Expand Down

0 comments on commit 570f2da

Please sign in to comment.