From af93de272135338a7f3e664d816d5a5657828e7b Mon Sep 17 00:00:00 2001 From: Nicolas Roman Date: Wed, 3 Apr 2019 11:49:09 +0200 Subject: [PATCH] fixed shellcheck warning --- scripts/web-add.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/web-add.sh b/scripts/web-add.sh index c2bacec..8cdffbe 100755 --- a/scripts/web-add.sh +++ b/scripts/web-add.sh @@ -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