Skip to content
Snippets Groups Projects
Commit ab1a82a1 authored by Bob Mottram's avatar Bob Mottram
Browse files

backslash for grep

parent 6435e548
No related branches found
No related tags found
No related merge requests found
......@@ -827,7 +827,7 @@ function upgrade_xmpp {
# because there are no prompts to accept
# self-signed certs
xmpp_tls_enabled='-- '
xmpp_str="${xmpp_tls_enabled}\"tls\""
xmpp_str="\-\- \"tls\""
if ! grep -q "$xmpp_str" /etc/prosody/conf.avail/xmpp.cfg.lua; then
sed -i "s|\"tls\"|${xmpp_tls_enabled}\"tls\"|g" /etc/prosody/conf.avail/xmpp.cfg.lua
xmpp_restart=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment