* Fixup wording

* Removed clean_up from the if block
This commit is contained in:
Lutchy Horace 2021-11-10 12:55:41 -05:00
parent 45b8e87546
commit dce6be0601

View file

@ -60,7 +60,7 @@ function reload_nginx
function clean_up
{
debug "Removing Nginx configuration and logs..."
rm "$_vhost_conf_file"
rm "$_vhost_conf_file" 2> /dev/null
rm /var/log/nginx/"$_domain".* > /dev/null 2>&1
reload_nginx
err "$1"
@ -237,7 +237,7 @@ if test -n "$_listenip"; then
fi
_listenip="$_listenip:"
else
warn "Listen ip not specified, listening on all interfaces."
warn "No listen ip specified, listening on all interfaces."
fi
if test -z "$_root" -a -z "$_backend"; then
@ -255,7 +255,6 @@ fi
echo -n "Checking if conf path '$_confpath' exists? "
if test -d "$_confpath"; then
echo "Yes!"
clean_up
else
echo "No!"
clean_up