Double backslash

This commit is contained in:
Bob Mottram 2018-04-20 12:10:55 +01:00
parent 88851408b9
commit 831d4487b9
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ function torrc_migrate {
mkdir /etc/torrc.d mkdir /etc/torrc.d
grep "HiddenServiceDir\|HiddenServiceVersion\|HiddenServicePort" /etc/tor/torrc | grep -v "#HiddenServiceDir" >> $ONION_SERVICES_FILE grep "HiddenServiceDir\\|HiddenServiceVersion\\|HiddenServicePort" /etc/tor/torrc | grep -v "#HiddenServiceDir" >> $ONION_SERVICES_FILE
if ! grep "HiddenServiceVersion" $ONION_SERVICES_FILE; then if ! grep "HiddenServiceVersion" $ONION_SERVICES_FILE; then
return return