fixed shellcheck warning

This commit is contained in:
Nicolas Roman 2019-04-03 11:49:09 +02:00
parent ac1bb7d3f1
commit af93de2721
1 changed files with 1 additions and 1 deletions

View File

@ -842,7 +842,7 @@ op_aliasdel() {
vhost_file="${VHOST_PATH}/${vhost}"
if [ -f "${vhost_file}" ]; then
sed -i -e "/ServerAlias "$alias"$/d" "${vhost_file}" --follow-symlinks
sed -i -e "/ServerAlias $alias$/d" "${vhost_file}" --follow-symlinks
else
echo "VHost file \`${vhost_file}' not found'" >&2
return 1