Skip to content

Commit 3fbd301

Browse files
author
Serghey Rodin
committed
fix for new domain deletetion
1 parent a30f510 commit 3fbd301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/domain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ del_web_config() {
277277
fi
278278

279279
if [ -e "$conf" ]; then
280-
sed -i "|$conf|d" /etc/$1/conf.d/vesta.conf
280+
sed -i "\|$conf|d" /etc/$1/conf.d/vesta.conf
281281
rm -f $conf
282282
else
283283
# fallback to old style configs

0 commit comments

Comments
 (0)