Invert logic

This commit is contained in:
Bob Mottram 2017-03-31 22:44:28 +01:00
parent f581fd4eba
commit fb4d8e982b
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ pelican_variables=(MY_USERNAME
function install_pelican_website { function install_pelican_website {
if [[ $ONION_ONLY == 'no' ]]; then if [[ $ONION_ONLY != 'no' ]]; then
echo -n '' > /etc/nginx/sites-available/$PELICAN_DOMAIN_NAME echo -n '' > /etc/nginx/sites-available/$PELICAN_DOMAIN_NAME
return return
fi fi