We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e82b7 commit e1a017fCopy full SHA for e1a017f
func/domain.sh
@@ -289,7 +289,7 @@ add_web_config() {
289
ln -s $conf /etc/$1/conf.d/domains/$domain.conf
290
291
# Clear old configurations
292
- rm -rf $HOMEDIR/$user/conf/web/$domain.*
+ rm -f $HOMEDIR/$user/conf/web/$domain.*
293
294
# Rename/Move extra config files
295
for f in $(ls $HOMEDIR/$user/conf/web/*.$domain.conf* 2>/dev/null); do
@@ -931,4 +931,4 @@ is_base_domain_owner(){
931
fi
932
933
done
934
-}
+}
0 commit comments