sed changed to have it correct for grep

Should be like this:
```
grep 'pattern1\|pattern2' filename
```
See: 
https://www.thegeekstuff.com/2011/10/grep-or-and-not-operators/
This commit is contained in:
utzer 2020-12-29 20:30:26 +01:00 committed by GitHub
parent 9f86803b02
commit e02616058c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ esac
. /usr/local/etc/cleanup_friendica.conf
# make a list to be used for grep -E
protected=$(echo $protectedusers | sed 's/\"//g' | sed 's/\ /\|/g')
protected=$(echo $protectedusers | sed 's/\"//g' | sed 's/\ /\\\|/g')
cd ${friendicapath} || exit 0